Reflection for RapidJSON
0.0.8
Reflection for serializing/deserializing with RapidJSON
|
#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 | |
ReflectiveRapidJSON | |
ReflectiveRapidJSON::JsonReflector | |
The JsonReflector namespace contains helper functions to ease the use of RapidJSON for automatic (de)serialization. | |
Functions | |
template<> | |
void | ReflectiveRapidJSON::JsonReflector::push< ChronoUtilities::DateTime > (const ChronoUtilities::DateTime &reflectable, RAPIDJSON_NAMESPACE::Value &value, RAPIDJSON_NAMESPACE::Document::AllocatorType &allocator) |
template<> | |
void | ReflectiveRapidJSON::JsonReflector::push< ChronoUtilities::TimeSpan > (const ChronoUtilities::TimeSpan &reflectable, RAPIDJSON_NAMESPACE::Value &value, RAPIDJSON_NAMESPACE::Document::AllocatorType &allocator) |
template<> | |
void | ReflectiveRapidJSON::JsonReflector::pull< ChronoUtilities::DateTime > (ChronoUtilities::DateTime &reflectable, const RAPIDJSON_NAMESPACE::GenericValue< RAPIDJSON_NAMESPACE::UTF8< char >> &value, JsonDeserializationErrors *errors) |
template<> | |
void | ReflectiveRapidJSON::JsonReflector::pull< ChronoUtilities::TimeSpan > (ChronoUtilities::TimeSpan &reflectable, const RAPIDJSON_NAMESPACE::GenericValue< RAPIDJSON_NAMESPACE::UTF8< char >> &value, JsonDeserializationErrors *errors) |