GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
Data Fields
gp_json_struct Struct Reference

Describe a single structure member for serializer and deserialzer. More...

#include <gp_json_serdes.h>

Collaboration diagram for gp_json_struct:
Collaboration graph
[legend]

Data Fields

const char * id
 JSON id.
 
size_t offset
 Offset in the C structure.
 
enum json_serdes_type type
 Variable type.
 
size_t type_size
 Variable size, either explicit size or sizeof()
 
union { 
 
};  
 Optional value limits.
 

Detailed Description

Describe a single structure member for serializer and deserialzer.

Serialization and deserialization functions take an array sorted by id of these structures that describe subset of a structure memebers.

The array is usually constructed with the help of the GP_JSON_SERDES_FOO() macros.

Definition at line 80 of file gp_json_serdes.h.


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