|
Objectively
Ultra-lightweight object oriented framework for GNU C.
|
#include <JSONSerializers.h>
Describes the JSON binding strategy for a single field of a C struct.
Definition at line 83 of file JSONSerializers.h.
Properties | |
| ident | data |
| Opaque user data passed to the serializer and deserializer. | |
| JSONDeserializer | deserializer |
The JSONDeserializer, or NULL to omit this field from deserialization. | |
| const char * | key |
The JSON key name. A NULL key terminates the property list. | |
| ptrdiff_t | offset |
| The byte offset of the field within the struct. | |
| JSONSerializer | serializer |
The JSONSerializer, or NULL to omit this field from serialization. | |
| size_t | size |
| The byte size of the field within the struct. | |
| ident JSONProperty::data |
Opaque user data passed to the serializer and deserializer.
Carries type-specific metadata, e.g. a nested JSONProperties pointer for structs.
Definition at line 114 of file JSONSerializers.h.
| JSONDeserializer JSONProperty::deserializer |
The JSONDeserializer, or NULL to omit this field from deserialization.
Definition at line 108 of file JSONSerializers.h.
| const char* JSONProperty::key |
The JSON key name. A NULL key terminates the property list.
Definition at line 88 of file JSONSerializers.h.
| ptrdiff_t JSONProperty::offset |
The byte offset of the field within the struct.
Definition at line 93 of file JSONSerializers.h.
| JSONSerializer JSONProperty::serializer |
The JSONSerializer, or NULL to omit this field from serialization.
Definition at line 103 of file JSONSerializers.h.
| size_t JSONProperty::size |
The byte size of the field within the struct.
Definition at line 98 of file JSONSerializers.h.