├── AUTHORS ├── LICENSE ├── README.md ├── README.txt ├── SConstruct ├── bin └── linux-gcc-4.1.2 │ └── benchmark ├── devtools ├── __init__.py ├── antglob.py ├── fixeol.py └── tarball.py ├── doc ├── doxyfile.in ├── footer.html ├── header.html ├── jsoncpp.dox ├── readme.txt └── roadmap.dox ├── doxybuild.py ├── include └── json │ ├── autolink.h │ ├── config.h │ ├── features.h │ ├── forwards.h │ ├── json.h │ ├── reader.h │ ├── value.h │ └── writer.h ├── install_depend_lib.sh ├── makefiles └── vs71 │ ├── jsoncpp.sln │ ├── jsontest.vcproj │ ├── lib_json.vcproj │ └── test_lib_json.vcproj ├── makerelease.py ├── scons-tools ├── globtool.py ├── globtool.pyc ├── srcdist.py ├── srcdist.pyc ├── substinfile.py ├── targz.py └── targz.pyc ├── src ├── benchmark │ └── main.cpp ├── jsontestrunner │ ├── main.cpp │ └── sconscript ├── lib_json │ ├── json_batchallocator.h │ ├── json_internalarray.inl │ ├── json_internalmap.inl │ ├── json_reader.cpp │ ├── json_value.cpp │ ├── json_valueiterator.inl │ ├── json_writer.cpp │ └── sconscript └── test_lib_json │ ├── jsontest.cpp │ ├── jsontest.h │ ├── main.cpp │ └── sconscript ├── test ├── cleantests.py ├── data │ ├── test_array_01.actual │ ├── test_array_01.actual-rewrite │ ├── test_array_01.expected │ ├── test_array_01.json │ ├── test_array_01.process-output │ ├── test_array_01.rewrite │ ├── test_array_02.actual │ ├── test_array_02.actual-rewrite │ ├── test_array_02.expected │ ├── test_array_02.json │ ├── test_array_02.process-output │ ├── test_array_02.rewrite │ ├── test_array_03.actual │ ├── test_array_03.actual-rewrite │ ├── test_array_03.expected │ ├── test_array_03.json │ ├── test_array_03.process-output │ ├── test_array_03.rewrite │ ├── test_array_04.actual │ ├── test_array_04.actual-rewrite │ ├── test_array_04.expected │ ├── test_array_04.json │ ├── test_array_04.process-output │ ├── test_array_04.rewrite │ ├── test_array_05.actual │ ├── test_array_05.actual-rewrite │ ├── test_array_05.expected │ ├── test_array_05.json │ ├── test_array_05.process-output │ ├── test_array_05.rewrite │ ├── test_array_06.actual │ ├── test_array_06.actual-rewrite │ ├── test_array_06.expected │ ├── test_array_06.json │ ├── test_array_06.process-output │ ├── test_array_06.rewrite │ ├── test_basic_01.actual │ ├── test_basic_01.actual-rewrite │ ├── test_basic_01.expected │ ├── test_basic_01.json │ ├── test_basic_01.process-output │ ├── test_basic_01.rewrite │ ├── test_basic_02.actual │ ├── test_basic_02.actual-rewrite │ ├── test_basic_02.expected │ ├── test_basic_02.json │ ├── test_basic_02.process-output │ ├── test_basic_02.rewrite │ ├── test_basic_03.actual │ ├── test_basic_03.actual-rewrite │ ├── test_basic_03.expected │ ├── test_basic_03.json │ ├── test_basic_03.process-output │ ├── test_basic_03.rewrite │ ├── test_basic_04.actual │ ├── test_basic_04.actual-rewrite │ ├── test_basic_04.expected │ ├── test_basic_04.json │ ├── test_basic_04.process-output │ ├── test_basic_04.rewrite │ ├── test_basic_05.actual │ ├── test_basic_05.actual-rewrite │ ├── test_basic_05.expected │ ├── test_basic_05.json │ ├── test_basic_05.process-output │ ├── test_basic_05.rewrite │ ├── test_basic_06.actual │ ├── test_basic_06.actual-rewrite │ ├── test_basic_06.expected │ ├── test_basic_06.json │ ├── test_basic_06.process-output │ ├── test_basic_06.rewrite │ ├── test_basic_07.actual │ ├── test_basic_07.actual-rewrite │ ├── test_basic_07.expected │ ├── test_basic_07.json │ ├── test_basic_07.process-output │ ├── test_basic_07.rewrite │ ├── test_basic_08.actual │ ├── test_basic_08.actual-rewrite │ ├── test_basic_08.expected │ ├── test_basic_08.json │ ├── test_basic_08.process-output │ ├── test_basic_08.rewrite │ ├── test_basic_09.actual │ ├── test_basic_09.actual-rewrite │ ├── test_basic_09.expected │ ├── test_basic_09.json │ ├── test_basic_09.process-output │ ├── test_basic_09.rewrite │ ├── test_comment_01.actual │ ├── test_comment_01.actual-rewrite │ ├── test_comment_01.expected │ ├── test_comment_01.json │ ├── test_comment_01.process-output │ ├── test_comment_01.rewrite │ ├── test_complex_01.actual │ ├── test_complex_01.actual-rewrite │ ├── test_complex_01.expected │ ├── test_complex_01.json │ ├── test_complex_01.process-output │ ├── test_complex_01.rewrite │ ├── test_integer_01.actual │ ├── test_integer_01.actual-rewrite │ ├── test_integer_01.expected │ ├── test_integer_01.json │ ├── test_integer_01.process-output │ ├── test_integer_01.rewrite │ ├── test_integer_02.actual │ ├── test_integer_02.actual-rewrite │ ├── test_integer_02.expected │ ├── test_integer_02.json │ ├── test_integer_02.process-output │ ├── test_integer_02.rewrite │ ├── test_integer_03.actual │ ├── test_integer_03.actual-rewrite │ ├── test_integer_03.expected │ ├── test_integer_03.json │ ├── test_integer_03.process-output │ ├── test_integer_03.rewrite │ ├── test_integer_04.actual │ ├── test_integer_04.actual-rewrite │ ├── test_integer_04.expected │ ├── test_integer_04.json │ ├── test_integer_04.process-output │ ├── test_integer_04.rewrite │ ├── test_integer_05.actual │ ├── test_integer_05.actual-rewrite │ ├── test_integer_05.expected │ ├── test_integer_05.json │ ├── test_integer_05.process-output │ ├── test_integer_05.rewrite │ ├── test_large_01.actual │ ├── test_large_01.actual-rewrite │ ├── test_large_01.expected │ ├── test_large_01.json │ ├── test_large_01.process-output │ ├── test_large_01.rewrite │ ├── test_object_01.actual │ ├── test_object_01.actual-rewrite │ ├── test_object_01.expected │ ├── test_object_01.json │ ├── test_object_01.process-output │ ├── test_object_01.rewrite │ ├── test_object_02.actual │ ├── test_object_02.actual-rewrite │ ├── test_object_02.expected │ ├── test_object_02.json │ ├── test_object_02.process-output │ ├── test_object_02.rewrite │ ├── test_object_03.actual │ ├── test_object_03.actual-rewrite │ ├── test_object_03.expected │ ├── test_object_03.json │ ├── test_object_03.process-output │ ├── test_object_03.rewrite │ ├── test_object_04.actual │ ├── test_object_04.actual-rewrite │ ├── test_object_04.expected │ ├── test_object_04.json │ ├── test_object_04.process-output │ ├── test_object_04.rewrite │ ├── test_preserve_comment_01.actual │ ├── test_preserve_comment_01.actual-rewrite │ ├── test_preserve_comment_01.expected │ ├── test_preserve_comment_01.json │ ├── test_preserve_comment_01.process-output │ ├── test_preserve_comment_01.rewrite │ ├── test_real_01.actual │ ├── test_real_01.actual-rewrite │ ├── test_real_01.expected │ ├── test_real_01.json │ ├── test_real_01.process-output │ ├── test_real_01.rewrite │ ├── test_real_02.actual │ ├── test_real_02.actual-rewrite │ ├── test_real_02.expected │ ├── test_real_02.json │ ├── test_real_02.process-output │ ├── test_real_02.rewrite │ ├── test_real_03.actual │ ├── test_real_03.actual-rewrite │ ├── test_real_03.expected │ ├── test_real_03.json │ ├── test_real_03.process-output │ ├── test_real_03.rewrite │ ├── test_real_04.actual │ ├── test_real_04.actual-rewrite │ ├── test_real_04.expected │ ├── test_real_04.json │ ├── test_real_04.process-output │ ├── test_real_04.rewrite │ ├── test_real_05.actual │ ├── test_real_05.actual-rewrite │ ├── test_real_05.expected │ ├── test_real_05.json │ ├── test_real_05.process-output │ ├── test_real_05.rewrite │ ├── test_real_06.actual │ ├── test_real_06.actual-rewrite │ ├── test_real_06.expected │ ├── test_real_06.json │ ├── test_real_06.process-output │ ├── test_real_06.rewrite │ ├── test_real_07.actual │ ├── test_real_07.actual-rewrite │ ├── test_real_07.expected │ ├── test_real_07.json │ ├── test_real_07.process-output │ ├── test_real_07.rewrite │ ├── test_string_01.actual │ ├── test_string_01.actual-rewrite │ ├── test_string_01.expected │ ├── test_string_01.json │ ├── test_string_01.process-output │ ├── test_string_01.rewrite │ ├── test_string_02.actual │ ├── test_string_02.actual-rewrite │ ├── test_string_02.expected │ ├── test_string_02.json │ ├── test_string_02.process-output │ ├── test_string_02.rewrite │ ├── test_string_unicode_01.actual │ ├── test_string_unicode_01.actual-rewrite │ ├── test_string_unicode_01.expected │ ├── test_string_unicode_01.json │ ├── test_string_unicode_01.process-output │ ├── test_string_unicode_01.rewrite │ ├── test_string_unicode_02.actual │ ├── test_string_unicode_02.actual-rewrite │ ├── test_string_unicode_02.expected │ ├── test_string_unicode_02.json │ ├── test_string_unicode_02.process-output │ ├── test_string_unicode_02.rewrite │ ├── test_string_unicode_03.actual │ ├── test_string_unicode_03.actual-rewrite │ ├── test_string_unicode_03.expected │ ├── test_string_unicode_03.json │ ├── test_string_unicode_03.process-output │ ├── test_string_unicode_03.rewrite │ ├── test_string_unicode_04.actual │ ├── test_string_unicode_04.actual-rewrite │ ├── test_string_unicode_04.expected │ ├── test_string_unicode_04.json │ ├── test_string_unicode_04.process-output │ ├── test_string_unicode_04.rewrite │ ├── test_string_unicode_05.actual │ ├── test_string_unicode_05.actual-rewrite │ ├── test_string_unicode_05.expected │ ├── test_string_unicode_05.json │ ├── test_string_unicode_05.process-output │ └── test_string_unicode_05.rewrite ├── generate_expected.py ├── jsonchecker │ ├── fail1.json │ ├── fail10.json │ ├── fail11.json │ ├── fail12.json │ ├── fail13.json │ ├── fail14.json │ ├── fail15.json │ ├── fail16.json │ ├── fail17.json │ ├── fail18.json │ ├── fail19.json │ ├── fail2.json │ ├── fail20.json │ ├── fail21.json │ ├── fail22.json │ ├── fail23.json │ ├── fail24.json │ ├── fail25.json │ ├── fail26.json │ ├── fail27.json │ ├── fail28.json │ ├── fail29.json │ ├── fail3.json │ ├── fail30.json │ ├── fail31.json │ ├── fail32.json │ ├── fail33.json │ ├── fail4.json │ ├── fail5.json │ ├── fail6.json │ ├── fail7.json │ ├── fail8.json │ ├── fail9.json │ ├── pass1.json │ ├── pass2.json │ ├── pass3.json │ └── readme.txt ├── pyjsontestrunner.py ├── runjsontests.py ├── runjsontests.pyc ├── rununittests.py └── rununittests.pyc └── version /AUTHORS: -------------------------------------------------------------------------------- 1 | Baptiste Lepilleur 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The json-cpp library and this documentation are in Public Domain. 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/README.md -------------------------------------------------------------------------------- /README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/README.txt -------------------------------------------------------------------------------- /SConstruct: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/SConstruct -------------------------------------------------------------------------------- /bin/linux-gcc-4.1.2/benchmark: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/bin/linux-gcc-4.1.2/benchmark -------------------------------------------------------------------------------- /devtools/__init__.py: -------------------------------------------------------------------------------- 1 | # module 2 | -------------------------------------------------------------------------------- /devtools/antglob.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/devtools/antglob.py -------------------------------------------------------------------------------- /devtools/fixeol.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/devtools/fixeol.py -------------------------------------------------------------------------------- /devtools/tarball.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/devtools/tarball.py -------------------------------------------------------------------------------- /doc/doxyfile.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/doc/doxyfile.in -------------------------------------------------------------------------------- /doc/footer.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/doc/footer.html -------------------------------------------------------------------------------- /doc/header.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/doc/header.html -------------------------------------------------------------------------------- /doc/jsoncpp.dox: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/doc/jsoncpp.dox -------------------------------------------------------------------------------- /doc/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/doc/readme.txt -------------------------------------------------------------------------------- /doc/roadmap.dox: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/doc/roadmap.dox -------------------------------------------------------------------------------- /doxybuild.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/doxybuild.py -------------------------------------------------------------------------------- /include/json/autolink.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/include/json/autolink.h -------------------------------------------------------------------------------- /include/json/config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/include/json/config.h -------------------------------------------------------------------------------- /include/json/features.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/include/json/features.h -------------------------------------------------------------------------------- /include/json/forwards.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/include/json/forwards.h -------------------------------------------------------------------------------- /include/json/json.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/include/json/json.h -------------------------------------------------------------------------------- /include/json/reader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/include/json/reader.h -------------------------------------------------------------------------------- /include/json/value.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/include/json/value.h -------------------------------------------------------------------------------- /include/json/writer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/include/json/writer.h -------------------------------------------------------------------------------- /install_depend_lib.sh: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /makefiles/vs71/jsoncpp.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/makefiles/vs71/jsoncpp.sln -------------------------------------------------------------------------------- /makefiles/vs71/jsontest.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/makefiles/vs71/jsontest.vcproj -------------------------------------------------------------------------------- /makefiles/vs71/lib_json.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/makefiles/vs71/lib_json.vcproj -------------------------------------------------------------------------------- /makefiles/vs71/test_lib_json.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/makefiles/vs71/test_lib_json.vcproj -------------------------------------------------------------------------------- /makerelease.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/makerelease.py -------------------------------------------------------------------------------- /scons-tools/globtool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/scons-tools/globtool.py -------------------------------------------------------------------------------- /scons-tools/globtool.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/scons-tools/globtool.pyc -------------------------------------------------------------------------------- /scons-tools/srcdist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/scons-tools/srcdist.py -------------------------------------------------------------------------------- /scons-tools/srcdist.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/scons-tools/srcdist.pyc -------------------------------------------------------------------------------- /scons-tools/substinfile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/scons-tools/substinfile.py -------------------------------------------------------------------------------- /scons-tools/targz.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/scons-tools/targz.py -------------------------------------------------------------------------------- /scons-tools/targz.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/scons-tools/targz.pyc -------------------------------------------------------------------------------- /src/benchmark/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/src/benchmark/main.cpp -------------------------------------------------------------------------------- /src/jsontestrunner/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/src/jsontestrunner/main.cpp -------------------------------------------------------------------------------- /src/jsontestrunner/sconscript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/src/jsontestrunner/sconscript -------------------------------------------------------------------------------- /src/lib_json/json_batchallocator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/src/lib_json/json_batchallocator.h -------------------------------------------------------------------------------- /src/lib_json/json_internalarray.inl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/src/lib_json/json_internalarray.inl -------------------------------------------------------------------------------- /src/lib_json/json_internalmap.inl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/src/lib_json/json_internalmap.inl -------------------------------------------------------------------------------- /src/lib_json/json_reader.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/src/lib_json/json_reader.cpp -------------------------------------------------------------------------------- /src/lib_json/json_value.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/src/lib_json/json_value.cpp -------------------------------------------------------------------------------- /src/lib_json/json_valueiterator.inl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/src/lib_json/json_valueiterator.inl -------------------------------------------------------------------------------- /src/lib_json/json_writer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/src/lib_json/json_writer.cpp -------------------------------------------------------------------------------- /src/lib_json/sconscript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/src/lib_json/sconscript -------------------------------------------------------------------------------- /src/test_lib_json/jsontest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/src/test_lib_json/jsontest.cpp -------------------------------------------------------------------------------- /src/test_lib_json/jsontest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/src/test_lib_json/jsontest.h -------------------------------------------------------------------------------- /src/test_lib_json/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/src/test_lib_json/main.cpp -------------------------------------------------------------------------------- /src/test_lib_json/sconscript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/src/test_lib_json/sconscript -------------------------------------------------------------------------------- /test/cleantests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/cleantests.py -------------------------------------------------------------------------------- /test/data/test_array_01.actual: -------------------------------------------------------------------------------- 1 | .=[] 2 | -------------------------------------------------------------------------------- /test/data/test_array_01.actual-rewrite: -------------------------------------------------------------------------------- 1 | .=[] 2 | -------------------------------------------------------------------------------- /test/data/test_array_01.expected: -------------------------------------------------------------------------------- 1 | .=[] 2 | -------------------------------------------------------------------------------- /test/data/test_array_01.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /test/data/test_array_01.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_array_01.rewrite: -------------------------------------------------------------------------------- 1 | [] 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_array_02.actual: -------------------------------------------------------------------------------- 1 | .=[] 2 | .[0]=1 3 | -------------------------------------------------------------------------------- /test/data/test_array_02.actual-rewrite: -------------------------------------------------------------------------------- 1 | .=[] 2 | .[0]=1 3 | -------------------------------------------------------------------------------- /test/data/test_array_02.expected: -------------------------------------------------------------------------------- 1 | .=[] 2 | .[0]=1 3 | -------------------------------------------------------------------------------- /test/data/test_array_02.json: -------------------------------------------------------------------------------- 1 | [1] 2 | -------------------------------------------------------------------------------- /test/data/test_array_02.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_array_02.rewrite: -------------------------------------------------------------------------------- 1 | [ 1 ] 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_array_03.actual: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_array_03.actual -------------------------------------------------------------------------------- /test/data/test_array_03.actual-rewrite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_array_03.actual-rewrite -------------------------------------------------------------------------------- /test/data/test_array_03.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_array_03.expected -------------------------------------------------------------------------------- /test/data/test_array_03.json: -------------------------------------------------------------------------------- 1 | [ 1, 2 , 3,4,5] 2 | -------------------------------------------------------------------------------- /test/data/test_array_03.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_array_03.rewrite: -------------------------------------------------------------------------------- 1 | [ 1, 2, 3, 4, 5 ] 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_array_04.actual: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_array_04.actual -------------------------------------------------------------------------------- /test/data/test_array_04.actual-rewrite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_array_04.actual-rewrite -------------------------------------------------------------------------------- /test/data/test_array_04.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_array_04.expected -------------------------------------------------------------------------------- /test/data/test_array_04.json: -------------------------------------------------------------------------------- 1 | [1, "abc" , 12.3, -4] 2 | -------------------------------------------------------------------------------- /test/data/test_array_04.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_array_04.rewrite: -------------------------------------------------------------------------------- 1 | [ 1, "abc", 12.30, -4 ] 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_array_05.actual: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_array_05.actual -------------------------------------------------------------------------------- /test/data/test_array_05.actual-rewrite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_array_05.actual-rewrite -------------------------------------------------------------------------------- /test/data/test_array_05.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_array_05.expected -------------------------------------------------------------------------------- /test/data/test_array_05.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_array_05.json -------------------------------------------------------------------------------- /test/data/test_array_05.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_array_05.rewrite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_array_05.rewrite -------------------------------------------------------------------------------- /test/data/test_array_06.actual: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_array_06.actual -------------------------------------------------------------------------------- /test/data/test_array_06.actual-rewrite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_array_06.actual-rewrite -------------------------------------------------------------------------------- /test/data/test_array_06.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_array_06.expected -------------------------------------------------------------------------------- /test/data/test_array_06.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_array_06.json -------------------------------------------------------------------------------- /test/data/test_array_06.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_array_06.rewrite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_array_06.rewrite -------------------------------------------------------------------------------- /test/data/test_basic_01.actual: -------------------------------------------------------------------------------- 1 | .=123456789 2 | -------------------------------------------------------------------------------- /test/data/test_basic_01.actual-rewrite: -------------------------------------------------------------------------------- 1 | .=123456789 2 | -------------------------------------------------------------------------------- /test/data/test_basic_01.expected: -------------------------------------------------------------------------------- 1 | .=123456789 2 | -------------------------------------------------------------------------------- /test/data/test_basic_01.json: -------------------------------------------------------------------------------- 1 | 0123456789 2 | -------------------------------------------------------------------------------- /test/data/test_basic_01.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_basic_01.rewrite: -------------------------------------------------------------------------------- 1 | 123456789 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_basic_02.actual: -------------------------------------------------------------------------------- 1 | .=-123456789 2 | -------------------------------------------------------------------------------- /test/data/test_basic_02.actual-rewrite: -------------------------------------------------------------------------------- 1 | .=-123456789 2 | -------------------------------------------------------------------------------- /test/data/test_basic_02.expected: -------------------------------------------------------------------------------- 1 | .=-123456789 2 | -------------------------------------------------------------------------------- /test/data/test_basic_02.json: -------------------------------------------------------------------------------- 1 | -0123456789 2 | -------------------------------------------------------------------------------- /test/data/test_basic_02.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_basic_02.rewrite: -------------------------------------------------------------------------------- 1 | -123456789 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_basic_03.actual: -------------------------------------------------------------------------------- 1 | .=1.2345678 2 | -------------------------------------------------------------------------------- /test/data/test_basic_03.actual-rewrite: -------------------------------------------------------------------------------- 1 | .=1.2345678 2 | -------------------------------------------------------------------------------- /test/data/test_basic_03.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_basic_03.expected -------------------------------------------------------------------------------- /test/data/test_basic_03.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_basic_03.json -------------------------------------------------------------------------------- /test/data/test_basic_03.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_basic_03.rewrite: -------------------------------------------------------------------------------- 1 | 1.23456780 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_basic_04.actual: -------------------------------------------------------------------------------- 1 | .="abcdef" 2 | -------------------------------------------------------------------------------- /test/data/test_basic_04.actual-rewrite: -------------------------------------------------------------------------------- 1 | .="abcdef" 2 | -------------------------------------------------------------------------------- /test/data/test_basic_04.expected: -------------------------------------------------------------------------------- 1 | .="abcdef" 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_basic_04.json: -------------------------------------------------------------------------------- 1 | "abcdef" 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_basic_04.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_basic_04.rewrite: -------------------------------------------------------------------------------- 1 | "abcdef" 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_basic_05.actual: -------------------------------------------------------------------------------- 1 | .=null 2 | -------------------------------------------------------------------------------- /test/data/test_basic_05.actual-rewrite: -------------------------------------------------------------------------------- 1 | .=null 2 | -------------------------------------------------------------------------------- /test/data/test_basic_05.expected: -------------------------------------------------------------------------------- 1 | .=null 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_basic_05.json: -------------------------------------------------------------------------------- 1 | null 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_basic_05.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_basic_05.rewrite: -------------------------------------------------------------------------------- 1 | null 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_basic_06.actual: -------------------------------------------------------------------------------- 1 | .=true 2 | -------------------------------------------------------------------------------- /test/data/test_basic_06.actual-rewrite: -------------------------------------------------------------------------------- 1 | .=true 2 | -------------------------------------------------------------------------------- /test/data/test_basic_06.expected: -------------------------------------------------------------------------------- 1 | .=true 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_basic_06.json: -------------------------------------------------------------------------------- 1 | true 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_basic_06.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_basic_06.rewrite: -------------------------------------------------------------------------------- 1 | true 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_basic_07.actual: -------------------------------------------------------------------------------- 1 | .=false 2 | -------------------------------------------------------------------------------- /test/data/test_basic_07.actual-rewrite: -------------------------------------------------------------------------------- 1 | .=false 2 | -------------------------------------------------------------------------------- /test/data/test_basic_07.expected: -------------------------------------------------------------------------------- 1 | .=false 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_basic_07.json: -------------------------------------------------------------------------------- 1 | false 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_basic_07.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_basic_07.rewrite: -------------------------------------------------------------------------------- 1 | false 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_basic_08.actual: -------------------------------------------------------------------------------- 1 | .=null 2 | -------------------------------------------------------------------------------- /test/data/test_basic_08.actual-rewrite: -------------------------------------------------------------------------------- 1 | .=null 2 | -------------------------------------------------------------------------------- /test/data/test_basic_08.expected: -------------------------------------------------------------------------------- 1 | .=null 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_basic_08.json: -------------------------------------------------------------------------------- 1 | // C++ style comment 2 | null 3 | 4 | -------------------------------------------------------------------------------- /test/data/test_basic_08.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_basic_08.rewrite: -------------------------------------------------------------------------------- 1 | // C++ style comment 2 | 3 | null 4 | 5 | -------------------------------------------------------------------------------- /test/data/test_basic_09.actual: -------------------------------------------------------------------------------- 1 | .=null 2 | -------------------------------------------------------------------------------- /test/data/test_basic_09.actual-rewrite: -------------------------------------------------------------------------------- 1 | .=null 2 | -------------------------------------------------------------------------------- /test/data/test_basic_09.expected: -------------------------------------------------------------------------------- 1 | .=null 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_basic_09.json: -------------------------------------------------------------------------------- 1 | /* C style comment 2 | */ 3 | null 4 | 5 | -------------------------------------------------------------------------------- /test/data/test_basic_09.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_basic_09.rewrite: -------------------------------------------------------------------------------- 1 | /* C style comment 2 | */ 3 | null 4 | 5 | -------------------------------------------------------------------------------- /test/data/test_comment_01.actual: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_comment_01.actual -------------------------------------------------------------------------------- /test/data/test_comment_01.actual-rewrite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_comment_01.actual-rewrite -------------------------------------------------------------------------------- /test/data/test_comment_01.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_comment_01.expected -------------------------------------------------------------------------------- /test/data/test_comment_01.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_comment_01.json -------------------------------------------------------------------------------- /test/data/test_comment_01.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_comment_01.rewrite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_comment_01.rewrite -------------------------------------------------------------------------------- /test/data/test_complex_01.actual: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_complex_01.actual -------------------------------------------------------------------------------- /test/data/test_complex_01.actual-rewrite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_complex_01.actual-rewrite -------------------------------------------------------------------------------- /test/data/test_complex_01.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_complex_01.expected -------------------------------------------------------------------------------- /test/data/test_complex_01.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_complex_01.json -------------------------------------------------------------------------------- /test/data/test_complex_01.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_complex_01.rewrite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_complex_01.rewrite -------------------------------------------------------------------------------- /test/data/test_integer_01.actual: -------------------------------------------------------------------------------- 1 | .=2147483647 2 | -------------------------------------------------------------------------------- /test/data/test_integer_01.actual-rewrite: -------------------------------------------------------------------------------- 1 | .=2147483647 2 | -------------------------------------------------------------------------------- /test/data/test_integer_01.expected: -------------------------------------------------------------------------------- 1 | .=2147483647 2 | -------------------------------------------------------------------------------- /test/data/test_integer_01.json: -------------------------------------------------------------------------------- 1 | // Max signed integer 2 | 2147483647 3 | -------------------------------------------------------------------------------- /test/data/test_integer_01.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_integer_01.rewrite: -------------------------------------------------------------------------------- 1 | // Max signed integer 2 | 3 | 2147483647 4 | 5 | -------------------------------------------------------------------------------- /test/data/test_integer_02.actual: -------------------------------------------------------------------------------- 1 | .=-2147483648 2 | -------------------------------------------------------------------------------- /test/data/test_integer_02.actual-rewrite: -------------------------------------------------------------------------------- 1 | .=-2147483648 2 | -------------------------------------------------------------------------------- /test/data/test_integer_02.expected: -------------------------------------------------------------------------------- 1 | .=-2147483648 2 | -------------------------------------------------------------------------------- /test/data/test_integer_02.json: -------------------------------------------------------------------------------- 1 | // Min signed integer 2 | -2147483648 3 | -------------------------------------------------------------------------------- /test/data/test_integer_02.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_integer_02.rewrite: -------------------------------------------------------------------------------- 1 | // Min signed integer 2 | 3 | -2147483648.0 4 | 5 | -------------------------------------------------------------------------------- /test/data/test_integer_03.actual: -------------------------------------------------------------------------------- 1 | .=4294967295 2 | -------------------------------------------------------------------------------- /test/data/test_integer_03.actual-rewrite: -------------------------------------------------------------------------------- 1 | .=4294967295 2 | -------------------------------------------------------------------------------- /test/data/test_integer_03.expected: -------------------------------------------------------------------------------- 1 | .=4294967295 2 | -------------------------------------------------------------------------------- /test/data/test_integer_03.json: -------------------------------------------------------------------------------- 1 | // Max unsigned integer 2 | 4294967295 3 | -------------------------------------------------------------------------------- /test/data/test_integer_03.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_integer_03.rewrite: -------------------------------------------------------------------------------- 1 | // Max unsigned integer 2 | 3 | 4294967295.0 4 | 5 | -------------------------------------------------------------------------------- /test/data/test_integer_04.actual: -------------------------------------------------------------------------------- 1 | .=0 2 | -------------------------------------------------------------------------------- /test/data/test_integer_04.actual-rewrite: -------------------------------------------------------------------------------- 1 | .=0 2 | -------------------------------------------------------------------------------- /test/data/test_integer_04.expected: -------------------------------------------------------------------------------- 1 | .=0 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_integer_04.json: -------------------------------------------------------------------------------- 1 | // Min unsigned integer 2 | 0 3 | 4 | -------------------------------------------------------------------------------- /test/data/test_integer_04.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_integer_04.rewrite: -------------------------------------------------------------------------------- 1 | // Min unsigned integer 2 | 3 | 0 4 | 5 | -------------------------------------------------------------------------------- /test/data/test_integer_05.actual: -------------------------------------------------------------------------------- 1 | .=1 2 | -------------------------------------------------------------------------------- /test/data/test_integer_05.actual-rewrite: -------------------------------------------------------------------------------- 1 | .=1 2 | -------------------------------------------------------------------------------- /test/data/test_integer_05.expected: -------------------------------------------------------------------------------- 1 | .=1 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_integer_05.json: -------------------------------------------------------------------------------- 1 | 1 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_integer_05.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_integer_05.rewrite: -------------------------------------------------------------------------------- 1 | 1 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_large_01.actual: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_large_01.actual -------------------------------------------------------------------------------- /test/data/test_large_01.actual-rewrite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_large_01.actual-rewrite -------------------------------------------------------------------------------- /test/data/test_large_01.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_large_01.expected -------------------------------------------------------------------------------- /test/data/test_large_01.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_large_01.json -------------------------------------------------------------------------------- /test/data/test_large_01.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_large_01.rewrite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_large_01.rewrite -------------------------------------------------------------------------------- /test/data/test_object_01.actual: -------------------------------------------------------------------------------- 1 | .={} 2 | -------------------------------------------------------------------------------- /test/data/test_object_01.actual-rewrite: -------------------------------------------------------------------------------- 1 | .={} 2 | -------------------------------------------------------------------------------- /test/data/test_object_01.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | -------------------------------------------------------------------------------- /test/data/test_object_01.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /test/data/test_object_01.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_object_01.rewrite: -------------------------------------------------------------------------------- 1 | {} 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_object_02.actual: -------------------------------------------------------------------------------- 1 | .={} 2 | .count=1234 3 | -------------------------------------------------------------------------------- /test/data/test_object_02.actual-rewrite: -------------------------------------------------------------------------------- 1 | .={} 2 | .count=1234 3 | -------------------------------------------------------------------------------- /test/data/test_object_02.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | .count=1234 3 | -------------------------------------------------------------------------------- /test/data/test_object_02.json: -------------------------------------------------------------------------------- 1 | { "count" : 1234 } 2 | -------------------------------------------------------------------------------- /test/data/test_object_02.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_object_02.rewrite: -------------------------------------------------------------------------------- 1 | { 2 | "count" : 1234 3 | } 4 | 5 | -------------------------------------------------------------------------------- /test/data/test_object_03.actual: -------------------------------------------------------------------------------- 1 | .={} 2 | .attribute="random" 3 | .count=1234 4 | .name="test" 5 | -------------------------------------------------------------------------------- /test/data/test_object_03.actual-rewrite: -------------------------------------------------------------------------------- 1 | .={} 2 | .attribute="random" 3 | .count=1234 4 | .name="test" 5 | -------------------------------------------------------------------------------- /test/data/test_object_03.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_object_03.expected -------------------------------------------------------------------------------- /test/data/test_object_03.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_object_03.json -------------------------------------------------------------------------------- /test/data/test_object_03.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_object_03.rewrite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_object_03.rewrite -------------------------------------------------------------------------------- /test/data/test_object_04.actual: -------------------------------------------------------------------------------- 1 | .={} 2 | .=1234 3 | -------------------------------------------------------------------------------- /test/data/test_object_04.actual-rewrite: -------------------------------------------------------------------------------- 1 | .={} 2 | .=1234 3 | -------------------------------------------------------------------------------- /test/data/test_object_04.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | .=1234 3 | -------------------------------------------------------------------------------- /test/data/test_object_04.json: -------------------------------------------------------------------------------- 1 | { 2 | "" : 1234 3 | } 4 | -------------------------------------------------------------------------------- /test/data/test_object_04.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_object_04.rewrite: -------------------------------------------------------------------------------- 1 | { 2 | "" : 1234 3 | } 4 | 5 | -------------------------------------------------------------------------------- /test/data/test_preserve_comment_01.actual: -------------------------------------------------------------------------------- 1 | .={} 2 | .first=1 3 | .second=2 4 | -------------------------------------------------------------------------------- /test/data/test_preserve_comment_01.actual-rewrite: -------------------------------------------------------------------------------- 1 | .={} 2 | .first=1 3 | .second=2 4 | -------------------------------------------------------------------------------- /test/data/test_preserve_comment_01.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | .first=1 3 | .second=2 4 | -------------------------------------------------------------------------------- /test/data/test_preserve_comment_01.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_preserve_comment_01.json -------------------------------------------------------------------------------- /test/data/test_preserve_comment_01.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_preserve_comment_01.rewrite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_preserve_comment_01.rewrite -------------------------------------------------------------------------------- /test/data/test_real_01.actual: -------------------------------------------------------------------------------- 1 | .=8589934592 2 | -------------------------------------------------------------------------------- /test/data/test_real_01.actual-rewrite: -------------------------------------------------------------------------------- 1 | .=8589934592 2 | -------------------------------------------------------------------------------- /test/data/test_real_01.expected: -------------------------------------------------------------------------------- 1 | .=8589934592 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_real_01.json: -------------------------------------------------------------------------------- 1 | // 2^33 => out of integer range, switch to double 2 | 8589934592 3 | 4 | -------------------------------------------------------------------------------- /test/data/test_real_01.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_real_01.rewrite: -------------------------------------------------------------------------------- 1 | // 2^33 => out of integer range, switch to double 2 | 3 | 8589934592.0 4 | 5 | -------------------------------------------------------------------------------- /test/data/test_real_02.actual: -------------------------------------------------------------------------------- 1 | .=-4294967295 2 | -------------------------------------------------------------------------------- /test/data/test_real_02.actual-rewrite: -------------------------------------------------------------------------------- 1 | .=-4294967295 2 | -------------------------------------------------------------------------------- /test/data/test_real_02.expected: -------------------------------------------------------------------------------- 1 | .=-4294967295 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_real_02.json: -------------------------------------------------------------------------------- 1 | // -2^32 => out of signed integer range, switch to double 2 | -4294967295 3 | 4 | -------------------------------------------------------------------------------- /test/data/test_real_02.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_real_02.rewrite: -------------------------------------------------------------------------------- 1 | // -2^32 => out of signed integer range, switch to double 2 | 3 | -4294967295.0 4 | 5 | -------------------------------------------------------------------------------- /test/data/test_real_03.actual: -------------------------------------------------------------------------------- 1 | .=-4294967295 2 | -------------------------------------------------------------------------------- /test/data/test_real_03.actual-rewrite: -------------------------------------------------------------------------------- 1 | .=-4294967295 2 | -------------------------------------------------------------------------------- /test/data/test_real_03.expected: -------------------------------------------------------------------------------- 1 | .=-4294967295 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_real_03.json: -------------------------------------------------------------------------------- 1 | // -2^32 => out of signed integer range, switch to double 2 | -4294967295 3 | 4 | -------------------------------------------------------------------------------- /test/data/test_real_03.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_real_03.rewrite: -------------------------------------------------------------------------------- 1 | // -2^32 => out of signed integer range, switch to double 2 | 3 | -4294967295.0 4 | 5 | -------------------------------------------------------------------------------- /test/data/test_real_04.actual: -------------------------------------------------------------------------------- 1 | .=1.2345678 2 | -------------------------------------------------------------------------------- /test/data/test_real_04.actual-rewrite: -------------------------------------------------------------------------------- 1 | .=1.2345678 2 | -------------------------------------------------------------------------------- /test/data/test_real_04.expected: -------------------------------------------------------------------------------- 1 | .=1.2345678 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_real_04.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_real_04.json -------------------------------------------------------------------------------- /test/data/test_real_04.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_real_04.rewrite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_real_04.rewrite -------------------------------------------------------------------------------- /test/data/test_real_05.actual: -------------------------------------------------------------------------------- 1 | .=1234567.8 2 | -------------------------------------------------------------------------------- /test/data/test_real_05.actual-rewrite: -------------------------------------------------------------------------------- 1 | .=1234567.8 2 | -------------------------------------------------------------------------------- /test/data/test_real_05.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_real_05.expected -------------------------------------------------------------------------------- /test/data/test_real_05.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_real_05.json -------------------------------------------------------------------------------- /test/data/test_real_05.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_real_05.rewrite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_real_05.rewrite -------------------------------------------------------------------------------- /test/data/test_real_06.actual: -------------------------------------------------------------------------------- 1 | .=-1.2345678 2 | -------------------------------------------------------------------------------- /test/data/test_real_06.actual-rewrite: -------------------------------------------------------------------------------- 1 | .=-1.2345678 2 | -------------------------------------------------------------------------------- /test/data/test_real_06.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_real_06.expected -------------------------------------------------------------------------------- /test/data/test_real_06.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_real_06.json -------------------------------------------------------------------------------- /test/data/test_real_06.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_real_06.rewrite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_real_06.rewrite -------------------------------------------------------------------------------- /test/data/test_real_07.actual: -------------------------------------------------------------------------------- 1 | .=-1234567.8 2 | -------------------------------------------------------------------------------- /test/data/test_real_07.actual-rewrite: -------------------------------------------------------------------------------- 1 | .=-1234567.8 2 | -------------------------------------------------------------------------------- /test/data/test_real_07.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_real_07.expected -------------------------------------------------------------------------------- /test/data/test_real_07.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_real_07.json -------------------------------------------------------------------------------- /test/data/test_real_07.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_real_07.rewrite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_real_07.rewrite -------------------------------------------------------------------------------- /test/data/test_string_01.actual: -------------------------------------------------------------------------------- 1 | .="!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~" 2 | -------------------------------------------------------------------------------- /test/data/test_string_01.actual-rewrite: -------------------------------------------------------------------------------- 1 | .="!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~" 2 | -------------------------------------------------------------------------------- /test/data/test_string_01.expected: -------------------------------------------------------------------------------- 1 | .="!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~" -------------------------------------------------------------------------------- /test/data/test_string_01.json: -------------------------------------------------------------------------------- 1 | "!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" 2 | -------------------------------------------------------------------------------- /test/data/test_string_01.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_string_01.rewrite: -------------------------------------------------------------------------------- 1 | "!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_string_02.actual: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_string_02.actual -------------------------------------------------------------------------------- /test/data/test_string_02.actual-rewrite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_string_02.actual-rewrite -------------------------------------------------------------------------------- /test/data/test_string_02.expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_string_02.expected -------------------------------------------------------------------------------- /test/data/test_string_02.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_string_02.json -------------------------------------------------------------------------------- /test/data/test_string_02.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_string_02.rewrite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/data/test_string_02.rewrite -------------------------------------------------------------------------------- /test/data/test_string_unicode_01.actual: -------------------------------------------------------------------------------- 1 | .="a" 2 | -------------------------------------------------------------------------------- /test/data/test_string_unicode_01.actual-rewrite: -------------------------------------------------------------------------------- 1 | .="a" 2 | -------------------------------------------------------------------------------- /test/data/test_string_unicode_01.expected: -------------------------------------------------------------------------------- 1 | .="a" 2 | -------------------------------------------------------------------------------- /test/data/test_string_unicode_01.json: -------------------------------------------------------------------------------- 1 | "\u0061" -------------------------------------------------------------------------------- /test/data/test_string_unicode_01.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_string_unicode_01.rewrite: -------------------------------------------------------------------------------- 1 | "a" 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_string_unicode_02.actual: -------------------------------------------------------------------------------- 1 | .="¢" 2 | -------------------------------------------------------------------------------- /test/data/test_string_unicode_02.actual-rewrite: -------------------------------------------------------------------------------- 1 | .="¢" 2 | -------------------------------------------------------------------------------- /test/data/test_string_unicode_02.expected: -------------------------------------------------------------------------------- 1 | .="¢" 2 | -------------------------------------------------------------------------------- /test/data/test_string_unicode_02.json: -------------------------------------------------------------------------------- 1 | "\u00A2" -------------------------------------------------------------------------------- /test/data/test_string_unicode_02.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_string_unicode_02.rewrite: -------------------------------------------------------------------------------- 1 | "¢" 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_string_unicode_03.actual: -------------------------------------------------------------------------------- 1 | .="€" 2 | -------------------------------------------------------------------------------- /test/data/test_string_unicode_03.actual-rewrite: -------------------------------------------------------------------------------- 1 | .="€" 2 | -------------------------------------------------------------------------------- /test/data/test_string_unicode_03.expected: -------------------------------------------------------------------------------- 1 | .="€" 2 | -------------------------------------------------------------------------------- /test/data/test_string_unicode_03.json: -------------------------------------------------------------------------------- 1 | "\u20AC" -------------------------------------------------------------------------------- /test/data/test_string_unicode_03.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_string_unicode_03.rewrite: -------------------------------------------------------------------------------- 1 | "€" 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_string_unicode_04.actual: -------------------------------------------------------------------------------- 1 | .="𝄞" 2 | -------------------------------------------------------------------------------- /test/data/test_string_unicode_04.actual-rewrite: -------------------------------------------------------------------------------- 1 | .="𝄞" 2 | -------------------------------------------------------------------------------- /test/data/test_string_unicode_04.expected: -------------------------------------------------------------------------------- 1 | .="𝄞" 2 | -------------------------------------------------------------------------------- /test/data/test_string_unicode_04.json: -------------------------------------------------------------------------------- 1 | "\uD834\uDD1E" -------------------------------------------------------------------------------- /test/data/test_string_unicode_04.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_string_unicode_04.rewrite: -------------------------------------------------------------------------------- 1 | "𝄞" 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_string_unicode_05.actual: -------------------------------------------------------------------------------- 1 | .="Zażółć gęślą jaźń" 2 | -------------------------------------------------------------------------------- /test/data/test_string_unicode_05.actual-rewrite: -------------------------------------------------------------------------------- 1 | .="Zażółć gęślą jaźń" 2 | -------------------------------------------------------------------------------- /test/data/test_string_unicode_05.expected: -------------------------------------------------------------------------------- 1 | .="Zażółć gęślą jaźń" 2 | 3 | -------------------------------------------------------------------------------- /test/data/test_string_unicode_05.json: -------------------------------------------------------------------------------- 1 | "Zażółć gęślą jaźń" -------------------------------------------------------------------------------- /test/data/test_string_unicode_05.process-output: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/test_string_unicode_05.rewrite: -------------------------------------------------------------------------------- 1 | "Zażółć gęślą jaźń" 2 | 3 | -------------------------------------------------------------------------------- /test/generate_expected.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/generate_expected.py -------------------------------------------------------------------------------- /test/jsonchecker/fail1.json: -------------------------------------------------------------------------------- 1 | "A JSON payload should be an object or array, not a string." -------------------------------------------------------------------------------- /test/jsonchecker/fail10.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/jsonchecker/fail10.json -------------------------------------------------------------------------------- /test/jsonchecker/fail11.json: -------------------------------------------------------------------------------- 1 | {"Illegal expression": 1 + 2} -------------------------------------------------------------------------------- /test/jsonchecker/fail12.json: -------------------------------------------------------------------------------- 1 | {"Illegal invocation": alert()} -------------------------------------------------------------------------------- /test/jsonchecker/fail13.json: -------------------------------------------------------------------------------- 1 | {"Numbers cannot have leading zeroes": 013} -------------------------------------------------------------------------------- /test/jsonchecker/fail14.json: -------------------------------------------------------------------------------- 1 | {"Numbers cannot be hex": 0x14} -------------------------------------------------------------------------------- /test/jsonchecker/fail15.json: -------------------------------------------------------------------------------- 1 | ["Illegal backslash escape: \x15"] -------------------------------------------------------------------------------- /test/jsonchecker/fail16.json: -------------------------------------------------------------------------------- 1 | [\naked] -------------------------------------------------------------------------------- /test/jsonchecker/fail17.json: -------------------------------------------------------------------------------- 1 | ["Illegal backslash escape: \017"] -------------------------------------------------------------------------------- /test/jsonchecker/fail18.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/jsonchecker/fail18.json -------------------------------------------------------------------------------- /test/jsonchecker/fail19.json: -------------------------------------------------------------------------------- 1 | {"Missing colon" null} -------------------------------------------------------------------------------- /test/jsonchecker/fail2.json: -------------------------------------------------------------------------------- 1 | ["Unclosed array" -------------------------------------------------------------------------------- /test/jsonchecker/fail20.json: -------------------------------------------------------------------------------- 1 | {"Double colon":: null} -------------------------------------------------------------------------------- /test/jsonchecker/fail21.json: -------------------------------------------------------------------------------- 1 | {"Comma instead of colon", null} -------------------------------------------------------------------------------- /test/jsonchecker/fail22.json: -------------------------------------------------------------------------------- 1 | ["Colon instead of comma": false] -------------------------------------------------------------------------------- /test/jsonchecker/fail23.json: -------------------------------------------------------------------------------- 1 | ["Bad value", truth] -------------------------------------------------------------------------------- /test/jsonchecker/fail24.json: -------------------------------------------------------------------------------- 1 | ['single quote'] -------------------------------------------------------------------------------- /test/jsonchecker/fail25.json: -------------------------------------------------------------------------------- 1 | [" tab character in string "] -------------------------------------------------------------------------------- /test/jsonchecker/fail26.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/jsonchecker/fail26.json -------------------------------------------------------------------------------- /test/jsonchecker/fail27.json: -------------------------------------------------------------------------------- 1 | ["line 2 | break"] -------------------------------------------------------------------------------- /test/jsonchecker/fail28.json: -------------------------------------------------------------------------------- 1 | ["line\ 2 | break"] -------------------------------------------------------------------------------- /test/jsonchecker/fail29.json: -------------------------------------------------------------------------------- 1 | [0e] -------------------------------------------------------------------------------- /test/jsonchecker/fail3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/jsonchecker/fail3.json -------------------------------------------------------------------------------- /test/jsonchecker/fail30.json: -------------------------------------------------------------------------------- 1 | [0e+] -------------------------------------------------------------------------------- /test/jsonchecker/fail31.json: -------------------------------------------------------------------------------- 1 | [0e+-1] -------------------------------------------------------------------------------- /test/jsonchecker/fail32.json: -------------------------------------------------------------------------------- 1 | {"Comma instead if closing brace": true, -------------------------------------------------------------------------------- /test/jsonchecker/fail33.json: -------------------------------------------------------------------------------- 1 | ["mismatch"} -------------------------------------------------------------------------------- /test/jsonchecker/fail4.json: -------------------------------------------------------------------------------- 1 | ["extra comma",] -------------------------------------------------------------------------------- /test/jsonchecker/fail5.json: -------------------------------------------------------------------------------- 1 | ["double extra comma",,] -------------------------------------------------------------------------------- /test/jsonchecker/fail6.json: -------------------------------------------------------------------------------- 1 | [ , "<-- missing value"] -------------------------------------------------------------------------------- /test/jsonchecker/fail7.json: -------------------------------------------------------------------------------- 1 | ["Comma after the close"], -------------------------------------------------------------------------------- /test/jsonchecker/fail8.json: -------------------------------------------------------------------------------- 1 | ["Extra close"]] -------------------------------------------------------------------------------- /test/jsonchecker/fail9.json: -------------------------------------------------------------------------------- 1 | {"Extra comma": true,} -------------------------------------------------------------------------------- /test/jsonchecker/pass1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/jsonchecker/pass1.json -------------------------------------------------------------------------------- /test/jsonchecker/pass2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/jsonchecker/pass2.json -------------------------------------------------------------------------------- /test/jsonchecker/pass3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/jsonchecker/pass3.json -------------------------------------------------------------------------------- /test/jsonchecker/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/jsonchecker/readme.txt -------------------------------------------------------------------------------- /test/pyjsontestrunner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/pyjsontestrunner.py -------------------------------------------------------------------------------- /test/runjsontests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/runjsontests.py -------------------------------------------------------------------------------- /test/runjsontests.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/runjsontests.pyc -------------------------------------------------------------------------------- /test/rununittests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/rununittests.py -------------------------------------------------------------------------------- /test/rununittests.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/henshao/jsoncpp/HEAD/test/rununittests.pyc -------------------------------------------------------------------------------- /version: -------------------------------------------------------------------------------- 1 | 0.5.0 --------------------------------------------------------------------------------