]> granicus.if.org Git - json-c/commit
update json_object_new_string_len, json_escape_str (internal). Writer handles \x00...
authorJehiah Czebotar <jehiah@gmail.com>
Fri, 14 Jan 2011 17:23:06 +0000 (17:23 +0000)
committerJehiah Czebotar <jehiah@gmail.com>
Fri, 14 Jan 2011 17:23:06 +0000 (17:23 +0000)
commitac601b5b5f9bc76200a37f39a47a62d414708aa2
tree777492c82134c76f0ef4571af17c06aa83ca5e2c
parenta503ee8217a9912f3c58acae33cf3d1d840dab6c
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
Makefile.am
json_object.c
json_object.h
json_object_private.h
test_null.c [new file with mode: 0644]
test_null.expected [new file with mode: 0644]
test_null.test [new file with mode: 0644]