|  | 
| Namespaces | |
| meta | |
| Classes | |
| class | ElementJsonSerializers | 
| Handles serialization and deserialization of dynamic data::Elementobjects to and from JSON.  More... | |
| Typedefs | |
| template<class ValueT > | |
| using | FromJsonFn = std::function< void(const nlohmann::json &j, ValueT &v)> | 
| A std::functionpointer to a function with signature:  More... | |
| template<class ValueT > | |
| using | RawFromJsonFn = void(*)(const nlohmann::json &j, ValueT &v) | 
| A raw function pointer to a function with signature:  More... | |
| template<class ValueT > | |
| using | RawToJsonFn = void(*)(nlohmann::json &j, const ValueT &v) | 
| A raw function pointer to a function with signature:  More... | |
| template<class ValueT > | |
| using | ToJsonFn = std::function< void(nlohmann::json &j, const ValueT &v)> | 
| A std::functionpointer to a function with signature:  More... | |
| Functions | |
| void | from_json_base (const nlohmann::json &j, data::Element &value) | 
| std::string | getTypeName (const nlohmann::json &j, const std::string &key) | 
| Get the type name stored in j.  More... | |
| void | setTypeName (nlohmann::json &j, const std::string &key, const std::string &typeName) | 
| Store the type name in j.  More... | |
| void | to_json_base (nlohmann::json &j, const data::Element &element) | 
| using FromJsonFn = std::function<void(const nlohmann::json& j, ValueT& v)> | 
A std::function pointer to a function with signature: 
Definition at line 83 of file ElementJsonSerializers.h.
| using RawFromJsonFn = void (*)(const nlohmann::json& j, ValueT& v) | 
A raw function pointer to a function with signature:
Definition at line 65 of file ElementJsonSerializers.h.
| using RawToJsonFn = void (*)(nlohmann::json& j, const ValueT& v) | 
A raw function pointer to a function with signature:
Definition at line 57 of file ElementJsonSerializers.h.
| using ToJsonFn = std::function<void(nlohmann::json& j, const ValueT& v)> | 
A std::function pointer to a function with signature: 
Definition at line 75 of file ElementJsonSerializers.h.
| void from_json_base | ( | const nlohmann::json & | j, | 
| data::Element & | value | ||
| ) | 
| std::string getTypeName | ( | const nlohmann::json & | j, | 
| const std::string & | key | ||
| ) | 
Get the type name stored in j. 
| key | The key of the type name entry. | 
| <tt>error::NoTypeNameEntryInJsonObject</tt> | If jis not an object or does not containkey. | 
Definition at line 6 of file ElementJsonSerializers.cpp.
 Here is the caller graph for this function:
 Here is the caller graph for this function:| void setTypeName | ( | nlohmann::json & | j, | 
| const std::string & | key, | ||
| const std::string & | typeName | ||
| ) | 
Store the type name in j. 
| key | The key where the type name shall be stored. | 
| typeName | The type name. | 
| <tt>error::TypeNameEntryAlreadyInJsonObject</tt> | If jalready containskey. | 
Definition at line 23 of file ElementJsonSerializers.cpp.
 Here is the caller graph for this function:
 Here is the caller graph for this function:| void to_json_base | ( | nlohmann::json & | j, | 
| const data::Element & | element | ||
| ) |