Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L LHCb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 193
    • Issues 193
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Jira
    • Jira
  • Merge requests 43
    • Merge requests 43
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • LHCbLHCb
  • LHCb
  • Merge requests
  • !3768

Add Condition conversion to JSON and improve conversion to YAML

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Marco Clemencic requested to merge condition-to-json into master Sep 12, 2022
  • Overview 17
  • Commits 3
  • Pipelines 8
  • Changes 18

Since YAML::Node uses a lot of memory (see #241 (closed)), we are investigating the possibility of using nlohmann::json as in-memory representation of conditions.

This MR pairs the dynamic conversion of Condition objects to YAML::Node with an equivalent conversion to nlohmann::json and automatically convert nlohmann::json into YAML::Node when accessing conditions from Detector (which, after Detector!286 (merged), uses JSON as in-memory condition representation).

Requires Detector!286 (merged)

Edited Sep 29, 2022 by Marco Clemencic
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: condition-to-json