This website requires JavaScript.
Explore
Help
Sign In
FGCOM
/
jansson
Watch
2
Star
0
Fork
0
You've already forked jansson
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
2158670177
jansson
/
test
/
suites
/
invalid
/
escaped-null-byte-in-string
/
error
3 lines
30 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Refactor decoder input stream - Add a new field position to the json_error_t structure. This is the position in bytes from the beginning of the input. - Keep track of line, column and input position in the stream level. Previously, only line was tracked, and it was in the lexer level, so this info was not available for UTF-8 decoding errors. - While at it, refactor tests so that no separate "stripped" tests are required. json_process is now able to strip whitespace from its input, and the "valid" and "invalid" test suites now use this to test both non-stripped and stripped input. Closes GH-9.
2011-02-22 16:47:02 +08:00
1 33 33
Enhance tests for null byte
2010-03-27 03:29:31 +08:00
\u0000 is not allowed
Reference in New Issue
Copy Permalink