Skip to content

Add Condition conversion to JSON and improve conversion to YAML

Marco Clemencic requested to merge condition-to-json into master

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 by Marco Clemencic

Merge request reports