Reflection for RapidJSON 0.0.17
Reflection for serializing/deserializing with RapidJSON
Loading...
Searching...
No Matches
NestedTestStruct Struct Reference

The NestedTestStruct struct inherits from JsonSerializable and should hence have functional fromJson() and toJson() methods. More...

#include <structs.h>

Inheritance diagram for NestedTestStruct:
[legend]
Collaboration diagram for NestedTestStruct:
[legend]

Public Member Functions

 REFLECTIVE_RAPIDJSON_ENABLE_PRIVATE_MEMBERS (NestedTestStruct)

Public Attributes

list< vector< TestStruct > > nested
unique_ptr< TestStruct > ptr

Friends

class JsonGeneratorTests

Detailed Description

The NestedTestStruct struct inherits from JsonSerializable and should hence have functional fromJson() and toJson() methods.

This is asserted in JsonGeneratorTests::testNesting();

Definition at line 51 of file structs.h.

Member Function Documentation

◆ REFLECTIVE_RAPIDJSON_ENABLE_PRIVATE_MEMBERS()

NestedTestStruct::REFLECTIVE_RAPIDJSON_ENABLE_PRIVATE_MEMBERS ( NestedTestStruct )

◆ JsonGeneratorTests

friend class JsonGeneratorTests
friend

Definition at line 54 of file structs.h.

Member Data Documentation

◆ nested

list<vector<TestStruct> > NestedTestStruct::nested

Definition at line 56 of file structs.h.

◆ ptr

unique_ptr<TestStruct> NestedTestStruct::ptr

Definition at line 57 of file structs.h.


The documentation for this struct was generated from the following file: