73# define CJ5_API extern "C"
78#if !defined(_MSC_VER) || _MSC_VER >= 1800
83# if !defined(__bool_true_false_are_defined)
84# define bool unsigned char
87# define __bool_true_false_are_defined
139 cj5_token *tokens,
unsigned int max_tokens,
160 char *buf,
unsigned int *buflen);
cj5_error_code cj5_get_float(const cj5_result *r, unsigned int tok_index, double *out)
cj5_error_code cj5_get_uint(const cj5_result *r, unsigned int tok_index, uint64_t *out)
cj5_result cj5_parse(const char *json5, unsigned int len, cj5_token *tokens, unsigned int max_tokens, cj5_options *options)
Options can be NULL.
cj5_error_code cj5_get_int(const cj5_result *r, unsigned int tok_index, int64_t *out)
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_error_code cj5_get_str(const cj5_result *r, unsigned int tok_index, char *buf, unsigned int *buflen)
cj5_error_code cj5_get_bool(const cj5_result *r, unsigned int tok_index, bool *out)