Austin Haigh
f1ff351828
fix typos in preprocessor macros
2022-11-01 13:29:16 -06:00
Tristan Penman
78ac8a737d
Correct token replacement issue
2022-10-26 21:01:58 +11:00
Tristan Penman
1ff3625482
Add script to bundle library into a single header
2022-04-09 13:46:54 +10:00
Tristan Penman
7d4ea9088d
Add boost::json example and delete problematic constructors
2022-02-07 20:50:23 +11:00
Tristan Penman
75ada05cf8
Use strong types in external_schema example, and update README
2021-11-06 08:53:39 +11:00
Tristan Penman
bb2c425104
Improve array_iteration_basics example
2021-05-20 22:14:22 +10:00
Tristan Penman
af2358b63f
Use custom RAPIDJSON_ASSERT macro to catch parser errors
2021-01-24 14:06:15 +11:00
Tristan Penman
94cef2fa8d
Add example showing local file resolution
2020-06-26 20:05:26 +10:00
Tristan Penman
cff81eb2ab
Add some example code that was prepared for a Melbourne C++ lightning talk
2017-07-10 12:58:46 +10: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
4f4f9cf81b
Include exception details when parsing fails in external_schema example
2015-10-13 13:04:14 +11: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
467368d022
Improve contexts for error reporting, and fix unicode bug.
2014-06-15 22:09:38 +10:00
Tristan Penman
280250dbc8
Update CMake build to include external_schema example, and add usage info to external_schema.cpp.
2014-06-15 15:24:26 +10: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