Tristan Penman
af2358b63f
Use custom RAPIDJSON_ASSERT macro to catch parser errors
2021-01-24 14:06:15 +11: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
a816284bc3
Remove unnecessary reference to SchemaParser in custom_schema example
2016-02-02 22:00:03 -08:00
Tristan Penman
14e31be16d
Improve encapsulation in MinLengthConstraint and MaxLengthConstraint classes
2016-02-02 15:06:16 -08:00
Tristan Penman
4d0d38566c
Improve encapsulation in MinimumConstraint class
2016-02-02 15:06:16 -08:00
Tristan Penman
b71de6dec0
Update PropertiesConstraint class to use custom allocator, with better encapsulation
2016-02-02 15:06:16 -08:00
Tristan Penman
f779b0780c
Update EnumConstraint to use custom allocator for collection (but not frozen values)
2016-02-02 15:06:16 -08:00
Tristan Penman
05ba5bf711
Update RequiredConstraint to use custom allocator, with better encapsulation
2016-02-02 15:06:16 -08:00
Tristan Penman
00e5c051f1
Update TypeConstraint to use custom allocator for internal list of sub-schemas
2016-02-02 15:06:15 -08:00
Tristan Penman
49fa41ba23
Allow use of custom alloc/free functions within Subschema class, specifically for allocating memory for Constraints
2016-02-02 15:06:14 -08: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
Tristan Penman
048f4b5144
Fix custom_schema example and include it in the CMake build
2015-03-15 15:38:40 +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