Reflection for RapidJSON  0.0.15
Reflection for serializing/deserializing with RapidJSON
Namespaces | Functions
reflector-chronoutilities.h File Reference

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>
Include dependency graph for reflector-chronoutilities.h:
This graph shows which files directly or indirectly include this file:

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< 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)
 

Detailed Description

Contains functions for (de)serializing objects from the chrono utilities provided by the C++ utilities library.

Remarks
This file demonstrates implementing custom (de)serialization for specific types.

Definition in file reflector-chronoutilities.h.