35 (*JKII_CB_RESOURCE_ALLOC)(
36 size_t required_size);
330 const char* json_string,
331 size_t json_string_len,
344 const char* json_string,
345 size_t json_string_len,
jkii_field_type_t type
Definition: jkii.h:254
char * string
Definition: jkii.h:281
struct jkii_field_t jkii_field_t
jkii_parse_err_t jkii_parse_with_allocator(const char *json_string, size_t json_string_len, jkii_field_t *fields, JKII_CB_RESOURCE_ALLOC cb_alloc, JKII_CB_RESOURCE_FREE cb_free)
const char * path
Definition: jkii.h:224
size_t field_copy_buff_size
Definition: jkii.h:318
size_t tokens_num
Definition: jkii.h:26
long long_value
Definition: jkii.h:296
jsmntok_t jkii_token_t
Definition: jkii.h:15
jkii_token_t * tokens
Definition: jkii.h:23
jkii_field_err_t
Definition: jkii.h:83
int int_value
Definition: jkii.h:289
jkii_boolean_t
Definition: jkii.h:42
void(* JKII_CB_RESOURCE_FREE)(jkii_resource_t *resource)
Definition: jkii.h:38
jkii_field_err_t result
Definition: jkii.h:230
double double_value
Definition: jkii.h:304
size_t end
Definition: jkii.h:266
jkii_field_type_t
Definition: jkii.h:118
size_t start
Definition: jkii.h:260
jkii_parse_err_t jkii_parse(const char *json_string, size_t json_string_len, jkii_field_t *fields, jkii_resource_t *resource)
const char * name
Definition: jkii.h:177
jkii_parse_err_t
Definition: jkii.h:49
jkii_boolean_t boolean_value
Definition: jkii.h:309
jkii_resource_t *(* JKII_CB_RESOURCE_ALLOC)(size_t required_size)
Definition: jkii.h:35
struct jkii_resource_t jkii_resource_t