├── .cmake-format.py ├── .github └── workflows │ └── ccpp.yaml ├── .gitignore ├── .travis.yml ├── CMakeLists.txt ├── LICENSE ├── README.md ├── _clang-format ├── autojsoncxx ├── autojsoncxx.hpp ├── autojsoncxx.py ├── examples │ ├── failure │ │ ├── duplicate_key.json │ │ ├── duplicate_key_user.json │ │ ├── hard.json │ │ ├── integer_string.json │ │ ├── map_element_mismatch.json │ │ ├── missing_required.json │ │ ├── null_in_key.json │ │ ├── out_of_range.json │ │ ├── single_object.json │ │ └── unknown_field.json │ └── success │ │ ├── hard.json │ │ ├── user_array.json │ │ ├── user_array_compact.json │ │ └── user_map.json ├── userdef.hpp └── userdef.json ├── cmake └── staticjson-config.cmake.in ├── examples ├── failure │ ├── duplicate_key.json │ ├── duplicate_key_user.json │ ├── hard.json │ ├── integer_string.json │ ├── invalid_enum.json │ ├── map_element_mismatch.json │ ├── missing_required.json │ ├── null_in_key.json │ ├── out_of_range.json │ ├── single_object.json │ ├── tensor_length_error.json │ ├── tensor_type_mismatch.json │ └── unknown_field.json └── success │ ├── hard.json │ ├── tensor.json │ ├── user_array.json │ ├── user_array_compact.json │ └── user_map.json ├── format.sh ├── include └── staticjson │ ├── basic.hpp │ ├── document.hpp │ ├── enum.hpp │ ├── error.hpp │ ├── forward_declarations.hpp │ ├── io.hpp │ ├── optional_support.hpp │ ├── primitive_types.hpp │ ├── staticjson.hpp │ └── stl_types.hpp ├── src └── staticjson.cpp └── test ├── myarray.hpp ├── test_autojsoncxx.cpp ├── test_basic.cpp ├── test_example.cpp ├── test_instantiation.cpp ├── test_integration.cpp ├── test_memory_usage.cpp └── test_tensor.cpp /.cmake-format.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/.cmake-format.py -------------------------------------------------------------------------------- /.github/workflows/ccpp.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/.github/workflows/ccpp.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/.travis.yml -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/README.md -------------------------------------------------------------------------------- /_clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/_clang-format -------------------------------------------------------------------------------- /autojsoncxx/autojsoncxx.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/autojsoncxx/autojsoncxx.hpp -------------------------------------------------------------------------------- /autojsoncxx/autojsoncxx.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/autojsoncxx/autojsoncxx.py -------------------------------------------------------------------------------- /autojsoncxx/examples/failure/duplicate_key.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/autojsoncxx/examples/failure/duplicate_key.json -------------------------------------------------------------------------------- /autojsoncxx/examples/failure/duplicate_key_user.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/autojsoncxx/examples/failure/duplicate_key_user.json -------------------------------------------------------------------------------- /autojsoncxx/examples/failure/hard.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/autojsoncxx/examples/failure/hard.json -------------------------------------------------------------------------------- /autojsoncxx/examples/failure/integer_string.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/autojsoncxx/examples/failure/integer_string.json -------------------------------------------------------------------------------- /autojsoncxx/examples/failure/map_element_mismatch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/autojsoncxx/examples/failure/map_element_mismatch.json -------------------------------------------------------------------------------- /autojsoncxx/examples/failure/missing_required.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/autojsoncxx/examples/failure/missing_required.json -------------------------------------------------------------------------------- /autojsoncxx/examples/failure/null_in_key.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/autojsoncxx/examples/failure/null_in_key.json -------------------------------------------------------------------------------- /autojsoncxx/examples/failure/out_of_range.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/autojsoncxx/examples/failure/out_of_range.json -------------------------------------------------------------------------------- /autojsoncxx/examples/failure/single_object.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/autojsoncxx/examples/failure/single_object.json -------------------------------------------------------------------------------- /autojsoncxx/examples/failure/unknown_field.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/autojsoncxx/examples/failure/unknown_field.json -------------------------------------------------------------------------------- /autojsoncxx/examples/success/hard.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/autojsoncxx/examples/success/hard.json -------------------------------------------------------------------------------- /autojsoncxx/examples/success/user_array.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/autojsoncxx/examples/success/user_array.json -------------------------------------------------------------------------------- /autojsoncxx/examples/success/user_array_compact.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/autojsoncxx/examples/success/user_array_compact.json -------------------------------------------------------------------------------- /autojsoncxx/examples/success/user_map.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/autojsoncxx/examples/success/user_map.json -------------------------------------------------------------------------------- /autojsoncxx/userdef.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/autojsoncxx/userdef.hpp -------------------------------------------------------------------------------- /autojsoncxx/userdef.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/autojsoncxx/userdef.json -------------------------------------------------------------------------------- /cmake/staticjson-config.cmake.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/cmake/staticjson-config.cmake.in -------------------------------------------------------------------------------- /examples/failure/duplicate_key.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/examples/failure/duplicate_key.json -------------------------------------------------------------------------------- /examples/failure/duplicate_key_user.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/examples/failure/duplicate_key_user.json -------------------------------------------------------------------------------- /examples/failure/hard.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/examples/failure/hard.json -------------------------------------------------------------------------------- /examples/failure/integer_string.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/examples/failure/integer_string.json -------------------------------------------------------------------------------- /examples/failure/invalid_enum.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/examples/failure/invalid_enum.json -------------------------------------------------------------------------------- /examples/failure/map_element_mismatch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/examples/failure/map_element_mismatch.json -------------------------------------------------------------------------------- /examples/failure/missing_required.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/examples/failure/missing_required.json -------------------------------------------------------------------------------- /examples/failure/null_in_key.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/examples/failure/null_in_key.json -------------------------------------------------------------------------------- /examples/failure/out_of_range.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/examples/failure/out_of_range.json -------------------------------------------------------------------------------- /examples/failure/single_object.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/examples/failure/single_object.json -------------------------------------------------------------------------------- /examples/failure/tensor_length_error.json: -------------------------------------------------------------------------------- 1 | [ 2 | [] 3 | ] 4 | -------------------------------------------------------------------------------- /examples/failure/tensor_type_mismatch.json: -------------------------------------------------------------------------------- 1 | [ 2 | ["1", 2, 3] 3 | ] 4 | -------------------------------------------------------------------------------- /examples/failure/unknown_field.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/examples/failure/unknown_field.json -------------------------------------------------------------------------------- /examples/success/hard.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/examples/success/hard.json -------------------------------------------------------------------------------- /examples/success/tensor.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/examples/success/tensor.json -------------------------------------------------------------------------------- /examples/success/user_array.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/examples/success/user_array.json -------------------------------------------------------------------------------- /examples/success/user_array_compact.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/examples/success/user_array_compact.json -------------------------------------------------------------------------------- /examples/success/user_map.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/examples/success/user_map.json -------------------------------------------------------------------------------- /format.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/format.sh -------------------------------------------------------------------------------- /include/staticjson/basic.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/include/staticjson/basic.hpp -------------------------------------------------------------------------------- /include/staticjson/document.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/include/staticjson/document.hpp -------------------------------------------------------------------------------- /include/staticjson/enum.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/include/staticjson/enum.hpp -------------------------------------------------------------------------------- /include/staticjson/error.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/include/staticjson/error.hpp -------------------------------------------------------------------------------- /include/staticjson/forward_declarations.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/include/staticjson/forward_declarations.hpp -------------------------------------------------------------------------------- /include/staticjson/io.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/include/staticjson/io.hpp -------------------------------------------------------------------------------- /include/staticjson/optional_support.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/include/staticjson/optional_support.hpp -------------------------------------------------------------------------------- /include/staticjson/primitive_types.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/include/staticjson/primitive_types.hpp -------------------------------------------------------------------------------- /include/staticjson/staticjson.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/include/staticjson/staticjson.hpp -------------------------------------------------------------------------------- /include/staticjson/stl_types.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/include/staticjson/stl_types.hpp -------------------------------------------------------------------------------- /src/staticjson.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/src/staticjson.cpp -------------------------------------------------------------------------------- /test/myarray.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/test/myarray.hpp -------------------------------------------------------------------------------- /test/test_autojsoncxx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/test/test_autojsoncxx.cpp -------------------------------------------------------------------------------- /test/test_basic.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/test/test_basic.cpp -------------------------------------------------------------------------------- /test/test_example.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/test/test_example.cpp -------------------------------------------------------------------------------- /test/test_instantiation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/test/test_instantiation.cpp -------------------------------------------------------------------------------- /test/test_integration.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/test/test_integration.cpp -------------------------------------------------------------------------------- /test/test_memory_usage.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/test/test_memory_usage.cpp -------------------------------------------------------------------------------- /test/test_tensor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netheril96/StaticJSON/HEAD/test/test_tensor.cpp --------------------------------------------------------------------------------