|
APG
… an ABNF Parser Generator
|
The structure of a JSON number value. More...
#include <json.h>
Data Fields | |
| aint | uiType |
| Identifies the number type. One of. More... | |
| union { | |
| double dFloat | |
| If uiType = JSON_ID_FLOAT, the floating point value. More... | |
| uint64_t uiUnsigned | |
| If uiType = JSON_ID_UNSIGNED, the unsigned int value. More... | |
| int64_t iSigned | |
| If uiType = JSON_ID_SIGNED, the signed int value. More... | |
| }; | |
| double floating point, unsigned integer, signed integer More... | |
The structure of a JSON number value.
The json object differentiates between three different number types – floating point, signed and unsigned integer values.
| union { ... } |
double floating point, unsigned integer, signed integer
Only one is needed at a time from this space-saving union.
| double json_number::dFloat |
| int64_t json_number::iSigned |
| aint json_number::uiType |
| uint64_t json_number::uiUnsigned |
1.8.17