CppCMS
|
The type traits schema for converting json values to/from orinary objects i.e. serialization from JSON to C++ object. More...
#include <cppcms/json.h>
Static Public Member Functions | |
static T | get (value const &v) |
static void | set (value &v, T const &in) |
The type traits schema for converting json values to/from orinary objects i.e. serialization from JSON to C++ object.
static T cppcms::json::traits< T >::get | ( | value const & | v | ) | [static] |
Convert json value v to an object of type T and return it
static void cppcms::json::traits< T >::set | ( | value & | v, |
T const & | in | ||
) | [static] |
Convert an object in to a json::value v