Motion Master
Loading...
Searching...
No Matches
Classes | Functions
nlohmann Namespace Reference

Classes

struct  adl_serializer< mm::comm::base::ParameterValue >
 Specialization of adl_serializer for common::ParameterValue to enable nlohmann::json serialization and deserialization. More...
 

Functions

void to_json (nlohmann::json &j, const mm::comm::base::MappedParameterValue &p)
 Serialize MappedParameterValue to JSON. More...
 
void from_json (const nlohmann::json &j, mm::comm::base::MappedParameterValue &p)
 Deserialize JSON into MappedParameterValue. More...
 
void to_json (json &j, const mm::comm::base::MappedParameterValues &p)
 Serialize MappedParameterValues to JSON. More...
 
void from_json (const json &j, mm::comm::base::MappedParameterValues &p)
 Deserialize JSON into MappedParameterValues. More...
 

Function Documentation

◆ from_json() [1/2]

void nlohmann::from_json ( const json j,
mm::comm::base::MappedParameterValues p 
)
inline

Deserialize JSON into MappedParameterValues.

Parameters
jJSON object to deserialize from.
pMappedParameterValues instance to populate.

◆ from_json() [2/2]

void nlohmann::from_json ( const nlohmann::json &  j,
mm::comm::base::MappedParameterValue p 
)
inline

Deserialize JSON into MappedParameterValue.

Parameters
jJSON input.
pOutput MappedParameterValue.

◆ to_json() [1/2]

void nlohmann::to_json ( json j,
const mm::comm::base::MappedParameterValues p 
)
inline

Serialize MappedParameterValues to JSON.

Parameters
jJSON object to serialize into.
pMappedParameterValues instance to serialize.

◆ to_json() [2/2]

void nlohmann::to_json ( nlohmann::json &  j,
const mm::comm::base::MappedParameterValue p 
)
inline

Serialize MappedParameterValue to JSON.

Parameters
jJSON object to serialize into.
pMappedParameterValue to serialize.