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

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

#include <structs.h>

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

Public Attributes

bool someBool = true
Public Attributes inherited from TestStruct
int someInt = 0
size_t someSize = 1
string someString = "foo"
string yetAnotherString = "bar"

Additional Inherited Members

Static Public Attributes inherited from TestStruct
static constexpr const char * staticMember = "static members are just ignored"
static int anotherStaticMember

Detailed Description

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

This is asserted in JsonGeneratorTests::testInheritence();

Definition at line 75 of file structs.h.

Member Data Documentation

◆ someBool

bool DerivedTestStruct::someBool = true

Definition at line 76 of file structs.h.


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