Updated copyright notices to include the year 2018.
lib: json-parser - check for valid hex in unicode escape
lib: json-parser - Insert properly escaped unicode
test-json-parser: Use idx to better identify failing case
test-json-parser: Update tests Now that we actually check for valid unicode, the tests need to have valid unicode and invalid unicode in correct places.
Updated copyright notices to include the year 2017.
global: Use "static const" for all struct tests[] arrays
lib: json_parse_next_stream() wrongly returned -1 even when a stream was returned.
lib: Fixed calling json_parse_skip_next() within arrays
lib: If json-parser has JSON_PARSER_NO_ROOT_OBJECT set, return the ending root "]" and "}"
lib: JSON parser can now optionally parse input that isn't an object. Based on patch by Aki Tuomi.
lib: Code cleanup to json-parser - assume less that the root is an object
lib: Added json_append_escaped_data() to escape non-NUL terminated input.
lib: json_append_escaped() doesn't need to escape the 8bit chars. We'll assume that the input is valid UTF-8.
global: freshen copyright git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/'
global: freshen copyright Robomatically: git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-4]/$1-2015/g;s/ (201[0-4]) Dovecot/ $1-2015 Dovecot/' Happy 2015 everyone! Signed-off-by: Phil Carmody <phil@dovecot.fi>
Updated copyright notices to include year 2014.
Make static analyzer happier.
test-json-parser: Fixed failing test with some non-gcc/clang compilers.
test-json-parser: Don't access memory out of bounds.
Compiler warning fix.
Oops :) Update copyrights to 2013 without breaking all .c files.
Updated copyright notices to include year 2013.
JSON parser: Added support for arrays. The parser should be complete now.
JSON parser: Added json_parse_skip_next() to skip over unwanted values.
JSON parser: Added support for reading string value as istream.
JSON parser fixes
JSON parser supports now nested objects and parsing from non-blocking input stream.