Johannes Rave
dee2fa64ff
Support for time related format fields
2022-07-18 16:57:44 +03: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
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
6287656e2b
Implement propertyNames constraint
2019-10-10 13:23:42 +11: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
drewxa
e943e3ef94
add poco json adapter
...
* new adapter
* util
* tests
2017-05-24 15:36:50 +03:00
Tristan Penman
29721d5538
Minor tweaks for consistency with coding style
2016-08-15 22:32:47 -07:00
Lars Immisch
b6854612a4
This patch drops boost as a dependency from the valijson core.
...
It is based on https://github.com/tristanpenman/valijson/pull/28 , but squashed and rebased for simplicity.
See the original https://github.com/tristanpenman/valijson/pull/28 for history.
2016-08-15 22:32:47 -07:00
Tristan Penman
c81403df80
Fix handling of schema scope (based on 'id' attribute) and enable refRemote tests
2016-03-20 14:10:06 +11:00
Tristan Penman
a5649408a0
Enable 'ref' tests from JSON Schema Test Suite
2016-03-20 14:10:06 +11:00
Tristan Penman
b1755309d2
Refactor memory management for schemas and constraints to improve API and allow for future improvements
2016-02-02 15:06:14 -08:00
hotwatermorning
303332a209
Disable json11 unless VALIJSON_BUILD_CXX11_ADAPTERS macro is defined.
2016-01-28 13:16:08 +09:00
hotwatermorning
851aa78167
Add test cases for Json11.
2016-01-26 14:43:09 +09:00
Tristan Penman
ba05594f53
Ensure picojson.h is included earlier in tests and add note about header include ordering to README
2015-05-12 08:21:14 +10:00
Hiroyuki Kobayashi
24d993dcd2
Support picojson library
2015-05-09 00:41:44 +09:00
Tristan Penman
1ea6c9b185
Implement draft 3 divisibleBy constraint based on draft 4 multipleOf constraint
2015-04-02 06:32:06 +11:00
Tristan Penman
b377609efa
Implement multipleOf constraint using std::remainder
2015-03-22 22:10:19 +11:00
Tristan Penman
5b29f915a1
Cleanup whitespace.
2014-03-01 09:03:39 +11:00
Tristan Penman
4c9864de73
Initial commit.
...
This commit contains the third major design of a C++ library for JSON Schema validation.
It is definitely not what I would consider production-ready, but I do think that the overall design of the library is robust.
2013-10-30 07:51:11 +11:00