aboutsummaryrefslogtreecommitdiff
path: root/test/functional/eval/json_functions_spec.lua
Commit message (Collapse)AuthorAge
* eval/decode: Reject more numbers, accept 1e5ZyX2016-04-18
|
* eval/decode: Do not loose high surrogates followed by high surrogatesZyX2016-04-18
|
* eval/decode: Make sure that error messages do not cause overflowZyX2016-04-18
|
* eval/decode: Make sure that blank input does not crash NeovimZyX2016-04-18
|
* eval/decode: Make sure that U+00C3 is parsed correctlyZyX2016-04-18
|
* functests: Make sure that json functions are tested with C messagesZyX2016-04-18
|
* eval/decode: Rename brackets in error messagesZyX2016-04-18
| | | | | U+007D is officially RIGHT CURLY BRACKET. U+005D is officially RIGHT SQUARE BRACKET.
* encode: Handle incomplete surrogates like `\uSURR\uOTHR` properlyZyX2016-04-18
|
* encode: Fail to dump NaN and infinityZyX2016-04-18
| | | | Thanks to vim/vim#654
* eval: Rename json* functions to json_*ZyX2016-04-18
|
* eval/encode: Fix invalid UTF-8 strings handling:ZyX2016-04-18
| | | | 1. Do not allow reading past buffer end when creating error messages. 2. Fix surrogate pairs range, avoid magic constants.
* eval/encode: Fix non-utf-8 &encoding handling, add testsZyX2016-04-18
|
* eval/decode: Add support for special mapsZyX2016-04-18
| | | | | | | Special dictionaries representing map are created when encountering duplicate key or when key is empty or contains NUL. Also checks that values are separated by a comma/colon properly.
* eval/decode: Parse strings with NUL to special dictionariesZyX2016-04-18
|
* eval/decode: Fix surrogate pairs processingZyX2016-04-18
|
* eval/decode: Fail on control and invalid unicode charactersZyX2016-04-18
|
* eval: Add jsondecode() functionZyX2016-04-18
|
* eval: Add jsonencode() functionZyX2016-04-18
Ref #3471