Logo
Explore Help
Sign In
mirror/json-c
1
0
Fork 0
You've already forked json-c
mirror of https://github.com/json-c/json-c.git synced 2026-03-18 12:39:06 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
json_object-split
json-c/tests/test_null.expected

4 lines
95 B
Plaintext
Raw Permalink Normal View History

update json_object_new_string_len, json_escape_str (internal). Writer handles \x00 correctly Added parse_null test. This does not change anything with how the parser handles \u0000 or null characters This commit is addapted from one by Adomas Paltanavičius <adomas@leanholding.com> git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@63 327403b1-1117-474d-bef2-5cb71233fd97
2011-01-14 17:23:06 +00:00
JSON write result is correct: " \u0000 "
PASS
Revert the test_null test back to emitted to stdout, and update the expected output to match.
2012-12-23 10:25:03 -06:00
Re-parsed object string len=3, chars=[32, 0, 32]
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 37ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API 粤ICP备2023071974号-5