diff --git a/README.md b/README.md index 29b926f..670add3 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,7 @@ The following table shows the mapping of supported C++ types to supported JSON t * The binary (de)serializer supports approximately the same C++ types but obviously maps them to a platform independent binary representation rather than a JSON type. + ## Usage This example shows how the library can be used to make a `struct` serializable:
@@ -143,6 +144,22 @@ There are further arguments available, see: reflective_rapidjson_generator --help+### Mixing with direct RapidJSON usage and further notes +It is of course possible to mix automatic serialization/deserialization with direct RapidJSON usage. This can be +done by invoking the `push` and `pull` functions within the `ReflectiveRapidJSON::JsonReflector` namespace directly. + +The `push` functions are used on serialization to populate intermediate data structures for the serializer of the +RapidJSON library. The intermediate JSON document can also easily be obtained via +`JsonSerializable