|
| enum | json_parse_flags_e {
json_parse_flags_default
, json_parse_flags_allow_trailing_comma
, json_parse_flags_allow_unquoted_keys
, json_parse_flags_allow_global_object
,
json_parse_flags_allow_equals_in_object
, json_parse_flags_allow_no_commas
, json_parse_flags_allow_c_style_comments
, json_parse_flags_deprecated
,
json_parse_flags_allow_location_information
, json_parse_flags_allow_single_quoted_strings
, json_parse_flags_allow_hexadecimal_numbers
, json_parse_flags_allow_leading_plus_sign
,
json_parse_flags_allow_leading_or_trailing_decimal_point
, json_parse_flags_allow_inf_and_nan
, json_parse_flags_allow_multi_line_strings
, json_parse_flags_allow_simplified_json
,
json_parse_flags_allow_json5
} |
| |
| enum | json_type_e {
json_type_string
, json_type_number
, json_type_object
, json_type_array
,
json_type_true
, json_type_false
, json_type_null
} |
| |
| enum | json_parse_error_e {
json_parse_error_none
, json_parse_error_expected_comma_or_closing_bracket
, json_parse_error_expected_colon
, json_parse_error_expected_opening_quote
,
json_parse_error_invalid_string_escape_sequence
, json_parse_error_invalid_number_format
, json_parse_error_invalid_value
, json_parse_error_premature_end_of_buffer
,
json_parse_error_invalid_string
, json_parse_error_allocator_failed
, json_parse_error_unexpected_trailing_characters
, json_parse_error_unknown
} |
| |
|
| json_weak struct json_value_s * | json_parse (const void *src, size_t src_size) |
| |
|
json_weak struct json_value_s * | json_parse_ex (const void *src, size_t src_size, size_t flags_bitset, void *(*alloc_func_ptr)(void *, size_t), void *user_data, struct json_parse_result_s *result) |
| |
| json_weak struct json_value_s * | json_extract_value (const struct json_value_s *value) |
| |
| json_weak struct json_value_s * | json_extract_value_ex (const struct json_value_s *value, void *(*alloc_func_ptr)(void *, size_t), void *user_data) |
| |
| json_weak void * | json_write_minified (const struct json_value_s *value, size_t *out_size) |
| |
| json_weak void * | json_write_pretty (const struct json_value_s *value, const char *indent, const char *newline, size_t *out_size) |
| |
| json_weak struct json_string_s * | json_value_as_string (struct json_value_s *const value) |
| |
| json_weak struct json_number_s * | json_value_as_number (struct json_value_s *const value) |
| |
| json_weak struct json_object_s * | json_value_as_object (struct json_value_s *const value) |
| |
| json_weak struct json_array_s * | json_value_as_array (struct json_value_s *const value) |
| |
| json_weak int | json_value_is_true (const struct json_value_s *const value) |
| |
| json_weak int | json_value_is_false (const struct json_value_s *const value) |
| |
| json_weak int | json_value_is_null (const struct json_value_s *const value) |
| |
| json_weak int | json_hexadecimal_digit (const char c) |
| |
| json_weak int | json_hexadecimal_value (const char *c, const unsigned long size, unsigned long *result) |
| |
| json_weak int | json_skip_whitespace (struct json_parse_state_s *state) |
| |
| json_weak int | json_skip_c_style_comments (struct json_parse_state_s *state) |
| |
| json_weak int | json_skip_all_skippables (struct json_parse_state_s *state) |
| |
| json_weak int | json_get_value_size (struct json_parse_state_s *state, int is_global_object) |
| |
| json_weak int | json_get_string_size (struct json_parse_state_s *state, size_t is_key) |
| |
| json_weak int | is_valid_unquoted_key_char (const char c) |
| |
| json_weak int | json_get_key_size (struct json_parse_state_s *state) |
| |
| json_weak int | json_get_object_size (struct json_parse_state_s *state, int is_global_object) |
| |
| json_weak int | json_get_array_size (struct json_parse_state_s *state) |
| |
| json_weak int | json_get_number_size (struct json_parse_state_s *state) |
| |
| json_weak void | json_parse_value (struct json_parse_state_s *state, int is_global_object, struct json_value_s *value) |
| |
| json_weak void | json_parse_string (struct json_parse_state_s *state, struct json_string_s *string) |
| |
| json_weak void | json_parse_key (struct json_parse_state_s *state, struct json_string_s *string) |
| |
| json_weak void | json_parse_object (struct json_parse_state_s *state, int is_global_object, struct json_object_s *object) |
| |
| json_weak void | json_parse_array (struct json_parse_state_s *state, struct json_array_s *array) |
| |
| json_weak void | json_parse_number (struct json_parse_state_s *state, struct json_number_s *number) |
| |
| struct json_value_s * | json_parse_ex (const void *src, size_t src_size, size_t flags_bitset, void *(*alloc_func_ptr)(void *user_data, size_t size), void *user_data, struct json_parse_result_s *result) |
| |
| json_weak struct json_extract_result_s | json_extract_get_number_size (const struct json_number_s *const number) |
| |
| json_weak struct json_extract_result_s | json_extract_get_string_size (const struct json_string_s *const string) |
| |
| json_weak struct json_extract_result_s | json_extract_get_object_size (const struct json_object_s *const object) |
| |
| json_weak struct json_extract_result_s | json_extract_get_array_size (const struct json_array_s *const array) |
| |
| json_weak struct json_extract_result_s | json_extract_get_value_size (const struct json_value_s *const value) |
| |
| json_weak void | json_extract_copy_value (struct json_extract_state_s *const state, const struct json_value_s *const value) |
| |
| json_weak int | json_write_minified_get_value_size (const struct json_value_s *value, size_t *size) |
| |
| json_weak int | json_write_get_number_size (const struct json_number_s *number, size_t *size) |
| |
| json_weak int | json_write_get_string_size (const struct json_string_s *string, size_t *size) |
| |
| json_weak int | json_write_minified_get_array_size (const struct json_array_s *array, size_t *size) |
| |
| json_weak int | json_write_minified_get_object_size (const struct json_object_s *object, size_t *size) |
| |
| json_weak char * | json_write_minified_value (const struct json_value_s *value, char *data) |
| |
| json_weak char * | json_write_number (const struct json_number_s *number, char *data) |
| |
| json_weak char * | json_write_string (const struct json_string_s *string, char *data) |
| |
| json_weak char * | json_write_minified_array (const struct json_array_s *array, char *data) |
| |
| json_weak char * | json_write_minified_object (const struct json_object_s *object, char *data) |
| |
| json_weak int | json_write_pretty_get_value_size (const struct json_value_s *value, size_t depth, size_t indent_size, size_t newline_size, size_t *size) |
| |
| json_weak int | json_write_pretty_get_array_size (const struct json_array_s *array, size_t depth, size_t indent_size, size_t newline_size, size_t *size) |
| |
| json_weak int | json_write_pretty_get_object_size (const struct json_object_s *object, size_t depth, size_t indent_size, size_t newline_size, size_t *size) |
| |
| json_weak char * | json_write_pretty_value (const struct json_value_s *value, size_t depth, const char *indent, const char *newline, char *data) |
| |
| json_weak char * | json_write_pretty_array (const struct json_array_s *array, size_t depth, const char *indent, const char *newline, char *data) |
| |
| json_weak char * | json_write_pretty_object (const struct json_object_s *object, size_t depth, const char *indent, const char *newline, char *data) |
| |