24#include "openPMD/auxiliary/JSON_internal.hpp"
30namespace openPMD::json
35 nlohmann::json config;
37 Pattern(std::string
const &pattern_in, nlohmann::json config_in);
47 std::vector<Pattern> m_patterns;
71 std::string backendName;
79 auto get(std::string
const &datasetPath)
const -> nlohmann::json
const &;
127 auto get(std::string
const &datasetPath, std::string
const &backendName)
138 auto initBackendLazily(std::string
const &backendName) -> void;
JsonMatcher()
For default construction.
auto getDefault(std::string const &backendName) -> TracingJSON
Get the default JSON config.
Definition JSONMatcher.cpp:170
auto get(std::string const &datasetPath, std::string const &backendName) -> ParsedConfig
Get the JSON config associated with a regex pattern.
Definition JSONMatcher.cpp:150
Matcher for dataset configurations per backend.
Definition JSONMatcher.hpp:45
auto get(std::string const &datasetPath) const -> nlohmann::json const &
Get the JSON config associated with a regex pattern.
Definition JSONMatcher.cpp:110
MatcherPerBackend()
For default construction.
Extend nlohmann::json with tracing of which keys have been accessed by operator[]().
Definition JSON_internal.hpp:69
Definition JSON_internal.hpp:50