diff options
author | Serge A. Zaitsev <devnull@localhost> | 2010-11-15 13:11:08 +0200 |
---|---|---|
committer | Serge A. Zaitsev <devnull@localhost> | 2010-11-15 13:11:08 +0200 |
commit | f22c2d30b7c73ebf1a7815b4a3eb5df18c251ed1 (patch) | |
tree | d57979b1a9c4299e4994b6806a154fa50c59ab3e /jsmn.h |
Initial commit. Demo program is included in the jsmn.c code. Ugly names and no comments. Please, don't read this changeset
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_ */ |