Jordan Bayles
7a560db2ed
Fixup headers
...
This patch removes the include for boost's internal suffix.hpp header,
in favor of just including the throw_exception.hpp header.
2020-11-08 21:21:54 -08:00
Jordan Bayles
b8e9581057
Apply feedback, add boost version check
2020-11-08 19:54:53 -08:00
Jordan Bayles
8f6f9b6a80
Use deprecated declarations
2020-11-08 17:18:14 -08:00
Jordan Bayles
f100614249
Cleanup unnecessary returns
2020-11-08 17:04:52 -08:00
Jordan Bayles
a30ef97465
Add VALIJSON_USE_EXCEPTIONS mode
...
This patch adds support for a new Cmake option,
VALIJSON_USE_EXCEPTIONS. If specified and set to `0`, Valijson will
disable all exception throwing, add the `-fno-exceptions` compiler flag,
and print to std::err and abort where exceptions would have been thrown.
NOTE: to set the value of a CMake option, the easiest way is to modify
the appropriate source line in the <build folder>/CMakeCache.txt file.
Bug: #106
2020-11-08 16:58:32 -08:00
Tristan Penman
a703886214
Update jsoncpp link in readme
2020-11-06 13:24:57 +11:00
Tristan Penman
abedaf0ecb
Merge pull request #105 from baylesj/update-jsoncpp
...
Update JsonCpp to 1.9.4
2020-11-06 13:23:26 +11:00
Jordan Bayles
825ee11008
Fix readme
2020-11-05 17:44:13 -08:00
Jordan Bayles
b6b6f167ad
Delete jsoncpp fuzzing stuff
2020-11-05 17:42:26 -08:00
Jordan Bayles
2ee7474f96
Delete more unnecessary scripts
2020-11-05 17:39:46 -08:00
Jordan Bayles
1ff5308f22
fix submodule
2020-11-05 17:37:50 -08:00
Jordan Bayles
dbc4fcc8d4
Remove modules
2020-11-05 17:33:52 -08:00
Jordan Bayles
88d9d890b5
Update JsonCpp to 1.9.4
...
This patch updates the JsonCpp third party dependency to the latest
version.
2020-11-05 17:11:35 -08:00
Tristan Penman
931f64d484
Merge pull request #102 from mathbunnyru/patch-2
...
Add conan package manager info
2020-10-03 07:24:01 +10:00
Ayaz Salikhov
c5e615431d
Add conan package manager info
2020-10-02 22:59:01 +03:00
Tristan Penman
6cda9227cc
Merge pull request #99 from mathbunnyru/patch-1
...
Fix README so the code actually throws, when json is invalid
2020-10-02 08:37:07 +10:00
Ayaz Salikhov
45b0f83b5a
Fix README so the code actually throws, when json is invalid
2020-10-01 17:31:04 +03:00
Tristan Penman
89e37cbf42
Fix typo
2020-09-04 20:53:29 +10:00
Tristan Penman
7f01c39116
Minor suggestions from clangtidy
2020-09-04 20:47:38 +10:00
Tristan Penman
a527564b10
Merge pull request #96 from joshuaeckroth/master
...
Switched from jsoncpp deprecated Reader to CharReader
2020-08-07 09:12:37 +10:00
Joshua Eckroth
ccad6b140f
Switched from jsoncpp deprecated Reader to CharReader
2020-08-06 06:57:20 +00:00
Tristan Penman
45a333e60d
Try to make builds faster
2020-07-17 17:23:32 +10:00
Tristan Penman
0ee3bada09
Fix broken build
2020-07-17 17:20:11 +10:00
Tristan Penman
bbe62ecd7d
Merge pull request #95 from wirenboard/feature/cache-regex
...
Regex objects cache for pattern constraints
2020-07-17 16:59:47 +10:00
Tristan Penman
f7f3acf20c
Merge pull request #94 from wirenboard/fix/pass-by-ref
...
Pass visitor to validationCallback by ref
2020-07-16 09:17:55 +10:00
pete
39f350692c
Regex objects cache for pattern constraints
2020-07-15 17:09:18 +05:00
pete
2216c2b8b3
Pass visitor to validationCallback by ref
2020-07-15 16:43:46 +05:00
Tristan Penman
0db0d139b7
Merge pull request #93 from Delgan/fix-unused-args
...
Fix compilation errors due to unused parameters
2020-07-15 18:37:28 +10:00
Delgan
1c825cc638
Remove unused parameters instead of commenting them out
2020-07-15 10:06:16 +02:00
Delgan
ca031221fc
Fix compilation errors due to unused parameters
2020-07-15 09:44:44 +02:00
Tristan Penman
105e345a73
Merge pull request #92 from arthurafarias/add-cmake-interface-library
...
Added interface target to CMakeLists.txt
2020-07-10 11:06:56 +10:00
Arthur Farias
f60a30899b
Added interface target to CMakeLists.txt
2020-07-09 18:24:41 +02:00
Tristan Penman
d453ee2ed4
Revert breaking changes to jsoncpp_adapter.hpp
2020-07-06 19:55:07 +10:00
Tristan Penman
f3a0390e17
Revert changes to json11_adapter.hpp
2020-07-06 19:50:10 +10:00
Tristan Penman
49c20301ed
Disable -Wshadow for included header in property_tree_utils.hpp
2020-07-06 19:46:31 +10:00
Tristan Penman
8875d80278
Add CLion paths to .gitignore
2020-07-06 19:31:44 +10:00
Tristan Penman
73a8e440c0
More aggressive compiler warnings
2020-07-06 19:30:55 +10:00
Tristan Penman
77d2ef8299
Cosmetic improvements for poco_json_adapter.hpp and property_tree_adapter.hpp
2020-07-06 12:48:55 +10:00
Tristan Penman
e5c1cbfe88
Ensure tests are run for Poco, Qt and property_tree adapters
2020-07-06 12:37:05 +10:00
Tristan Penman
8c0d16a068
Cosmetic improvements for std_string_adapter.hpp, test_json_pointer.cpp and test_poly_constraint.cpp
2020-07-06 11:47:58 +10:00
Tristan Penman
217b990b00
Cosmetic improvements for schema_parser.hpp and validation_results.hpp
2020-07-06 11:30:41 +10:00
Tristan Penman
71f4cdaa84
Cosmetic improvements for custom_allocator.hpp
2020-07-06 11:03:11 +10:00
Tristan Penman
e46af24588
Cosmetic improvements for concrete_constraints.hpp and basic_constraint.hpp
2020-07-06 09:16:40 +10:00
Tristan Penman
7917b2f75f
Cosmetic improvements for schema.hpp, schema_parser.hpp and subschema.hpp
2020-07-05 22:38:47 +10:00
Tristan Penman
8150a52008
Cosmetic improvements for test_adapter_comparison.cpp
2020-07-05 22:19:54 +10:00
Tristan Penman
28cc9e8eeb
Cosmetic improvements for qtjson_adapter.hpp
2020-07-05 22:11:01 +10:00
Tristan Penman
508bc019ec
Cosmetic improvements for rapidjson_adapter.hpp
2020-07-05 22:02:55 +10:00
Tristan Penman
d7901d4858
Cosmetics improvements for picojson_adapter.hpp
2020-07-05 21:49:11 +10:00
Tristan Penman
3211a04dd1
Cosmetic improvements for nlohmann_json_adapter.hpp
2020-07-05 21:43:10 +10:00
Tristan Penman
0f57cb31bc
Cosmetic improvements for jsoncpp_adapter.hpp
2020-07-05 21:37:03 +10:00