|
Reflection for RapidJSON 0.0.17
Reflection for serializing/deserializing with RapidJSON
|
The StructWithCustomTypes struct inherits from JsonSerializable and should hence have functional fromJson() and toJson() methods. More...
#include <structs.h>
Public Attributes | |
| CppUtilities::DateTime | dt = CppUtilities::DateTime::fromDateAndTime(2017, 4, 2, 15, 31, 21, 165.125) |
| CppUtilities::TimeSpan | ts = CppUtilities::TimeSpan::fromHours(3.25) + CppUtilities::TimeSpan::fromSeconds(19.125) |
The StructWithCustomTypes struct inherits from JsonSerializable and should hence have functional fromJson() and toJson() methods.
This is asserted in JsonGeneratorTests::testCustomSerialization();
| CppUtilities::DateTime StructWithCustomTypes::dt = CppUtilities::DateTime::fromDateAndTime(2017, 4, 2, 15, 31, 21, 165.125) |
| CppUtilities::TimeSpan StructWithCustomTypes::ts = CppUtilities::TimeSpan::fromHours(3.25) + CppUtilities::TimeSpan::fromSeconds(19.125) |