Tristan Penman
661fa1f6d6
Fix signed/unsigned comparisons in tests
2016-02-02 15:06:17 -08:00
Tristan Penman
c53268ba77
Update OneOfConstraint to use custom allocator, with better encapsulation
2016-02-02 15:06:15 -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
491bafe256
Minor stylistic changes for consistency with existing code
2016-02-02 08:05:57 -08:00
Tengiz Sharafiev
f88cc803cd
Implement test adapter comparison for nlohmann/json
2016-02-02 17:50:35 +03:00
Tengiz Sharafiev
c1ac8ba194
Implement adapter for nlohmann/json
2016-02-02 17:50:35 +03:00
Tengiz Sharafiev
d8e217cb60
Implement test for nlohmann/json adapter
2016-02-02 17:50:35 +03: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
hotwatermorning
04dc77b87c
Support dropbox/json11.
2016-01-26 14:43:09 +09:00
Tristan Penman
592e6db083
Move functionality from Schema class to a new Subschema class (superclass for Schema), and remove dead code
2015-12-22 10:26:51 +11:00
Tristan Penman
6546a9a945
Adapt existing tests to cover GenericRapidJsonAdapter when using a value type backed by RapidJson's CrtAllocator
2015-12-07 22:01:06 +11:00
Tristan Penman
7c4d935f4c
Add check for hyphen used as array index in JSON Pointer
2015-06-19 08:54:49 +10:00
Tristan Penman
5387aaf076
Support ~0 and ~1 character escape sequences in JSON Reference tokens
2015-06-17 10:00:13 +10: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
e13784c58a
Use unambiguous overload of [] operator in JSON Pointer array indexing tests
2015-05-07 10:10:33 +10:00
Tristan Penman
3900596a72
Check array bounds when dereferencing JSON Pointer containing array index
2015-05-07 09:35:28 +10:00
Tristan Penman
b4c2dbd875
Fix array indexing bug in JSON Pointer implementation
2015-05-07 09:07:26 +10:00
Tristan Penman
c43c8568f5
Rename json_reference namespace to json_pointer and move unrelated functionality back into SchemaParser class
2015-05-06 18:46:39 +10:00
Tristan Penman
4f88bb8941
Allow for redundant slashes in reference tokens, as per spec
2015-05-06 14:33:14 +10:00
Tristan Penman
fb1f08181d
Refactor JSON Pointer test cases into generalised test runner and test cases
2015-05-06 07:03:20 +10:00
Tristan Penman
454ec19914
Add test for single-level JSON pointer to object member
2015-05-05 20:55:37 +10:00
Tristan Penman
f42a4f9458
Lift rough JSON Pointer resolution functions into separate file
2015-05-05 16:18:21 +10:00
Tristan Penman
d206f79760
Refactor handling of JSON References and fetching of remote documents
2015-05-04 11:01:03 +10: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
467368d022
Improve contexts for error reporting, and fix unicode bug.
2014-06-15 22:09:38 +10:00
Tristan Penman
11af5466f0
Fix Ubuntu 12.04 build issues.
2014-04-17 21:31:18 +00: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