Reflection for RapidJSON 0.0.16
Reflection for serializing/deserializing with RapidJSON
|
Contains functions for (de)serializing objects from the chrono utilities provided by the C++ utilities library. More...
#include "./reflector.h"
#include <c++utilities/chrono/datetime.h>
#include <c++utilities/chrono/timespan.h>
#include <c++utilities/conversion/conversionexception.h>
Go to the source code of this file.
Namespaces | |
namespace | ReflectiveRapidJSON |
namespace | ReflectiveRapidJSON::JsonReflector |
The JsonReflector namespace contains helper functions to ease the use of RapidJSON for automatic (de)serialization. | |
Functions | |
template<> | |
void | ReflectiveRapidJSON::JsonReflector::push< CppUtilities::DateTime > (const CppUtilities::DateTime &reflectable, RAPIDJSON_NAMESPACE::Value &value, RAPIDJSON_NAMESPACE::Document::AllocatorType &allocator) |
template<> | |
void | ReflectiveRapidJSON::JsonReflector::push< CppUtilities::TimeSpan > (const CppUtilities::TimeSpan &reflectable, RAPIDJSON_NAMESPACE::Value &value, RAPIDJSON_NAMESPACE::Document::AllocatorType &allocator) |
template<> | |
void | ReflectiveRapidJSON::JsonReflector::pull< CppUtilities::DateTime > (CppUtilities::DateTime &reflectable, const RAPIDJSON_NAMESPACE::GenericValue< RAPIDJSON_NAMESPACE::UTF8< char > > &value, JsonDeserializationErrors *errors) |
template<> | |
void | ReflectiveRapidJSON::JsonReflector::pull< CppUtilities::TimeSpan > (CppUtilities::TimeSpan &reflectable, const RAPIDJSON_NAMESPACE::GenericValue< RAPIDJSON_NAMESPACE::UTF8< char > > &value, JsonDeserializationErrors *errors) |
Contains functions for (de)serializing objects from the chrono utilities provided by the C++ utilities library.
Definition in file reflector-chronoutilities.h.