Data Fields | |
| JsonDecode_Step | steps [JSON_MAX_DEPTH] |
| An array to keep track of each step of the decoder. | |
| int | depth |
| The current depth of the decoder (how many elements have been opened). | |
| bool | gotcomma |
| Used internally by the decoder. | |
| void * | context |
| A pointer to the user context. | |
| char * | p |
| A pointer to the data. | |
| int | len |
| The current length. | |
You'll need to have one of these for each JSON string you want to encode. The same variable can be reused after resetting it with a call to JsonDecode_Init().
Definition at line 61 of file json.h.
| char* JsonDecode_State::p |
| JsonDecode_Step JsonDecode_State::steps[JSON_MAX_DEPTH] |