Lines Matching refs:json_parser
29 struct json_parser {
47 static int json_parser_read_more(struct json_parser *parser)
86 static void json_parser_update_input_pos(struct json_parser *parser)
105 struct json_parser *json_parser_init(struct istream *input)
110 struct json_parser *json_parser_init_flags(struct istream *input,
113 struct json_parser *parser;
115 parser = i_new(struct json_parser, 1);
127 int json_parser_deinit(struct json_parser **_parser, const char **error_r)
129 struct json_parser *parser = *_parser;
155 static bool json_parse_whitespace(struct json_parser *parser)
173 static int json_skip_string(struct json_parser *parser)
206 static int json_parse_unicode_escape(struct json_parser *parser)
277 static int json_parse_string(struct json_parser *parser, bool allow_skip,
337 json_parse_digits(struct json_parser *parser)
350 static int json_parse_int(struct json_parser *parser)
368 static int json_parse_number(struct json_parser *parser, const char **value_r)
398 static int json_parse_atom(struct json_parser *parser, const char *atom)
417 static int json_parse_denest(struct json_parser *parser)
449 json_parse_close_object(struct json_parser *parser, enum json_type *type_r)
458 json_parse_close_array(struct json_parser *parser, enum json_type *type_r)
466 static void json_parser_object_open(struct json_parser *parser)
475 json_try_parse_next(struct json_parser *parser, enum json_type *type_r,
636 int json_parse_next(struct json_parser *parser, enum json_type *type_r,
661 void json_parse_skip_next(struct json_parser *parser)
675 static void json_strinput_destroyed(struct json_parser *parser)
683 json_try_parse_stream_start(struct json_parser *parser,
715 int json_parse_next_stream(struct json_parser *parser,