Reflection for RapidJSON  0.0.8
Reflection for serializing/deserializing with RapidJSON
Namespaces | Functions
reflector-boosthana.h File Reference
#include "./reflector.h"
#include <boost/hana/adapt_struct.hpp>
#include <boost/hana/at_key.hpp>
#include <boost/hana/define_struct.hpp>
#include <boost/hana/for_each.hpp>
#include <boost/hana/intersection.hpp>
#include <boost/hana/keys.hpp>
Include dependency graph for reflector-boosthana.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<typename Type , Traits::DisableIf< IsBuiltInType< Type >> * = nullptr>
void ReflectiveRapidJSON::JsonReflector::push (const Type &reflectable, RAPIDJSON_NAMESPACE::Value::Object &value, RAPIDJSON_NAMESPACE::Document::AllocatorType &allocator)
 Pushes the reflectable which has a custom type to the specified object. More...
 
template<typename Type , Traits::DisableIf< IsBuiltInType< Type >> * = nullptr>
void ReflectiveRapidJSON::JsonReflector::pull (Type &reflectable, const RAPIDJSON_NAMESPACE::GenericValue< RAPIDJSON_NAMESPACE::UTF8< char >>::ConstObject &value, JsonDeserializationErrors *errors)
 Pulls the reflectable which has a custom type from the specified object. More...