|
| static jsmntok_t * | jsmn_alloc_token (jsmn_parser *parser, jsmntok_t *tokens, size_t num_tokens) |
| | Allocates a fresh unused token from the token pull. More...
|
| |
| static void | jsmn_fill_token (jsmntok_t *token, jsmntype_t type, int start, int end) |
| | Fills token type and boundaries. More...
|
| |
| static int | jsmn_parse_primitive (jsmn_parser *parser, const char *js, size_t len, jsmntok_t *tokens, size_t num_tokens) |
| | Fills next available token with JSON primitive. More...
|
| |
| static int | jsmn_parse_string (jsmn_parser *parser, const char *js, size_t len, jsmntok_t *tokens, size_t num_tokens) |
| | Fills next token with JSON string. More...
|
| |
| int | jsmn_parse (jsmn_parser *parser, const char *js, size_t len, jsmntok_t *tokens, unsigned int num_tokens) |
| | Parse JSON string and fill tokens. More...
|
| |
| void | jsmn_init (jsmn_parser *parser) |
| | Creates a new parser based over a given buffer with an array of tokens available. More...
|
| |