Changeset 815 for firmware/trunk/libraries/json/json.h
- Timestamp:
- 08/13/08 12:48:09 (5 months ago)
- Files:
-
- 1 modified
-
firmware/trunk/libraries/json/json.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
firmware/trunk/libraries/json/json.h
r719 r815 42 42 typedef struct 43 43 { 44 JsonEncode_Step steps[JSON_MAX_DEPTH]; 45 int depth; 44 JsonEncode_Step steps[JSON_MAX_DEPTH]; /**< An array to keep track of the state of each step in the encoder. */ 45 int depth; /**< The current depth of the encoder (how many elements have been opened). */ 46 46 } JsonEncode_State; 47 47 … … 60 60 */ 61 61 typedef struct { 62 JsonDecode_Step steps[JSON_MAX_DEPTH]; 63 int depth; 64 bool gotcomma; 65 void* context; 66 char* p; 67 int len; 62 JsonDecode_Step steps[JSON_MAX_DEPTH]; /**< An array to keep track of each step of the decoder. */ 63 int depth; /**< The current depth of the decoder (how many elements have been opened). */ 64 bool gotcomma; /**< Used internally by the decoder. */ 65 void* context; /**< A pointer to the user context. */ 66 char* p; /**< A pointer to the data. */ 67 int len; /**< The current length. */ 68 68 } JsonDecode_State; 69 69
