Skip to main content
Part of MOP json This header provides a unified way to handle the Json serialization of parameters of different types. Each parameter is stored in an expressive way defining the Type, Range, Value and Multiplicity (Signlton/List) of the serialize object. This is achieved by having a traits class being defined for the parameters Type. Some standard definitions for ints, uints, numbers, strings are available but for serializing custom enums you would typically define this yourself. When de-/serializing a parameter of this type you the would only call the load/save functions depending on single/container parameters.

Public Types

Static Public Member Functions

Detailed Description

template<typename T> struct SerializableTraits< T >

This header provides a unified way to handle the Json serialization of parameters of different types. Each parameter is stored in an expressive way defining the Type, Range, Value and Multiplicity (Signlton/List) of the serialize object. This is achieved by having a traits class being defined for the parameters Type. Some standard definitions for ints, uints, numbers, strings are available but for serializing custom enums you would typically define this yourself. When de-/serializing a parameter of this type you the would only call the load/save functions depending on single/container parameters. Traits class to give all necessary information on the type You want to serialize. See the json_parameter.ipp file for standard definitions Template Parameters