#include <stdint.h>
#include <stdbool.h>
Go to the source code of this file.
|
| cj5_result | cj5_parse (const char *json5, unsigned int len, cj5_token *tokens, unsigned int max_tokens, cj5_options *options) |
| |
| cj5_error_code | cj5_get_bool (const cj5_result *r, unsigned int tok_index, bool *out) |
| |
| cj5_error_code | cj5_get_float (const cj5_result *r, unsigned int tok_index, double *out) |
| |
| cj5_error_code | cj5_get_int (const cj5_result *r, unsigned int tok_index, int64_t *out) |
| |
| cj5_error_code | cj5_get_uint (const cj5_result *r, unsigned int tok_index, uint64_t *out) |
| |
| cj5_error_code | cj5_get_str (const cj5_result *r, unsigned int tok_index, char *buf, unsigned int *buflen) |
| |
| void | cj5_skip (const cj5_result *r, unsigned int *tok_index) |
| |
| cj5_error_code | cj5_find (const cj5_result *r, unsigned int *tok_index, const char *key) |
| |
◆ CJ5_API
Definition at line 75 of file cj5.h.
◆ cj5_error_code
◆ cj5_options
◆ cj5_result
◆ cj5_token
◆ cj5_token_type
◆ cj5_error_code
| Enumerator |
|---|
| CJ5_ERROR_NONE | |
| CJ5_ERROR_INVALID | |
| CJ5_ERROR_INCOMPLETE | |
| CJ5_ERROR_OVERFLOW | |
| CJ5_ERROR_NOTFOUND | |
Definition at line 100 of file cj5.h.
◆ cj5_token_type
| Enumerator |
|---|
| CJ5_TOKEN_OBJECT | |
| CJ5_TOKEN_ARRAY | |
| CJ5_TOKEN_NUMBER | |
| CJ5_TOKEN_STRING | |
| CJ5_TOKEN_BOOL | |
| CJ5_TOKEN_NULL | |
Definition at line 91 of file cj5.h.
◆ cj5_find()
◆ cj5_get_bool()
◆ cj5_get_float()
◆ cj5_get_int()
◆ cj5_get_str()
◆ cj5_get_uint()
◆ cj5_parse()
◆ cj5_skip()
| void cj5_skip |
( |
const cj5_result * |
r, |
|
|
unsigned int * |
tok_index |
|
) |
| |