diff options
Diffstat (limited to 'jsmn.h')
-rw-r--r-- | jsmn.h | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -0,0 +1,17 @@ +#ifndef __JSMN_H_ +#define __JSMN_H_ + +typedef enum { + JSON_OBJECT, + JSON_ARRAY, + JSON_STRING, + JSON_OTHER +} jsontype_t; + +typedef struct { + jsontype_t type; + int start; + int end; +} jsontok_t; + +#endif /* __JSMN_H_ */ |