Tristan Penman
fc9ddf14db
Fix bug in difference() for rapidjson
2024-08-28 13:02:35 +10:00
Tristan Penman
a0e05907ae
Tidy up regex changes
2024-05-17 08:52:22 +10:00
sandwoodK
2431bdeaa6
Ability to customize regular expression engine
2024-05-02 09:18:28 +02:00
Tristan Penman
e895d035dc
Attempt to fix oss-fuzz build
2022-09-02 10:20:17 +12:00
Tristan Penman
582fd0fc13
Switch to using submodule for rapidjson
2022-08-30 11:54:37 +12:00
Johannes Rave
dee2fa64ff
Support for time related format fields
2022-07-18 16:57:44 +03:00
Pras Velagapudi
c688aa3bcb
Add a unit test for object member access.
2022-02-13 06:08:42 -05:00
Pras Velagapudi
f03461bb01
Fixed issue with YAML::Node reference usage.
2022-02-13 05:25:31 -05:00
Pras Velagapudi
7f23f3694b
Fix unit tests to match property tree.
2022-02-11 19:22:14 -05:00
Pras Velagapudi
328db2f644
Initial pass at yaml-cpp support.
2022-02-11 19:13:43 -05:00
Tristan Penman
dd32f66df8
Build tests for fuzzing
2022-02-04 11:00:17 +11:00
Tristan Penman
bfb5860cbd
Fix fuzzer build
2022-01-10 07:35:04 +11:00
Keith Bennett
1f25558c21
make shellcheck clean
...
`$ bash ./shellcheck.sh`
```
Checking: /home/kbennett/src/public/valijson/tests/fuzzing/oss-fuzz-build.sh
Checking: /home/kbennett/src/public/valijson/shellcheck.sh
All scripts found (listed above) passed shellcheck
```
2022-01-06 16:05:37 -06:00
Tristan Penman
7b6d22f166
Update CMakeLists.txt to check for boost/json.hpp before building tests
2021-10-06 20:33:39 +11:00
Matt Young
f5cf601efa
Add Boost.JSON support
2021-09-10 08:55:03 +02:00
Matt Young
14325788f8
Add Boost.JSON support
2021-09-10 08:54:00 +02:00
Ray Vincent
ef42dae296
Add support for urn document references
2021-08-23 15:45:49 -07:00
Tristan Penman
a4684c285d
Fix path to rapidjson in fuzzing test code
2021-07-31 11:00:37 +10:00
Tristan Penman
2cf8d3dd2e
Add default tests for draft 7
2021-05-21 10:20:44 +10:00
Tristan Penman
e94179e191
Add definitions tests for draft 7
2021-05-21 10:11:45 +10:00
Tristan Penman
e6909b155c
Add required test for draft 4
2021-05-20 22:03:35 +10:00
Tristan Penman
df89869e00
Add maxLength and minLength tests for draft 7
2021-05-20 21:36:20 +10:00
Tristan Penman
cb778b6bb6
Minor changes to address msvc warnings and make cmake work on Windows
2021-05-17 14:00:55 +10:00
AdamKorcz
c13eed99d1
Minor refactoring
2020-12-16 12:32:37 +00:00
AdamKorcz
3a47f0cd0d
Added fuzzer with oss-fuzz build file
2020-12-16 12:30:36 +00: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
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
8150a52008
Cosmetic improvements for test_adapter_comparison.cpp
2020-07-05 22:19:54 +10:00
Tristan Penman
aa0f766b03
Merge branch 'master' of github.com:tristanpenman/valijson
2020-06-03 19:56:37 +10:00
Tristan Penman
8febb456f4
Merge remote-tracking branch 'origin/master' into v6-and-v7-support
2020-06-03 19:54:48 +10:00
Tristan Penman
4cf83102af
Minor whitespace fix
2020-01-08 14:39:22 +11:00
Cédric CARRÉE
4338affeb3
Fix bad iterator comparaison when resolving json pointer
...
When resolving a json pointer and use an empty string as a
referenceToken, the value is coerced as an empty object and a temporary empty
object is returned from 'asObject()'. Then we used to compare 2
iterators from 2 differents temporary empty objects.
2020-01-07 16:36:56 +01:00
Tristan Penman
6287656e2b
Implement propertyNames constraint
2019-10-10 13:23:42 +11:00
Tristan Penman
0abf633bc0
Fix typos in tests
2019-09-26 10:59:45 +10:00
Tristan Penman
5f8c73fdf7
Update 'dependencies' constraint to pass v7 tests
2019-09-24 21:46:03 +10:00
Tristan Penman
5430e79754
Update 'required' constraint to match v7 tests
2019-09-24 21:22:15 +10:00
Tristan Penman
98d804a367
Add support for const constraint
2019-09-24 20:38:45 +10:00
Tristan Penman
f71355b90f
Add support for 'contains' constraint
2019-09-24 14:08:45 +10:00
Tristan Penman
866f5761bf
Improve support for boolean subschemas
2019-08-31 21:37:55 +10:00
Tristan Penman
c89d1d89cd
Add passing test cases for draft 7
2019-08-30 11:00:21 +10:00
Tristan Penman
c210d07c61
Update AllOfConstraint and AnyOfConstraint to support draft 7
2019-08-30 10:33:56 +10:00
Tristan Penman
a285ed0fbe
Add test cases for draft 7 exclusiveMaximum, exclusiveMinimum, maximum and minimum constraints
2019-08-29 22:21:30 +10:00
Tristan Penman
925ff8ff68
Initial support for 'if', 'then' and 'else' subschemas
2019-08-29 10:31:37 +10:00
Tristan Penman
c8dfd94035
Merge remote-tracking branch 'origin/master' into v6-and-v7-support
2019-08-27 12:38:34 +10:00
Tristan Penman
dbe09e0bab
Tidy up handling of optional dependencies
2019-08-27 12:19:27 +10:00
Tristan Penman
0f9e8cacf8
Disable unnecessary C++11 checks in source code
2019-08-20 22:38:19 +10:00
Tristan Penman
2de198ea2e
Automated test support for Poco JSON adapter
2017-05-31 15:01:31 +10:00
drewxa
e943e3ef94
add poco json adapter
...
* new adapter
* util
* tests
2017-05-24 15:36:50 +03:00
plamot
2c0477c30a
qtjson utils and tests update
2017-03-27 01:20:24 +02:00
Pierre Lamot
b8b2634ad6
add support for Qt Json parser
...
http://doc.qt.io/qt-5/json.html
2017-03-06 16:38:02 +01:00