fixed jsmntype_t definition

master
Serge A. Zaitsev 11 years ago
parent c29d151bfa
commit d0ca2df480

@ -98,10 +98,10 @@ API
Token types are described by `jsmntype_t`: Token types are described by `jsmntype_t`:
typedef enum { typedef enum {
JSMN_OBJECT, JSMN_PRIMITIVE = 0,
JSMN_ARRAY, JSMN_OBJECT = 1,
JSMN_STRING, JSMN_ARRAY = 2,
JSMN_PRIMITIVE JSMN_STRING = 3
} jsmntype_t; } jsmntype_t;
**Note:** Unlike JSON data types, primitive tokens are not divided into **Note:** Unlike JSON data types, primitive tokens are not divided into

Loading…
Cancel
Save