Commit Graph

374 Commits

Author SHA1 Message Date
Tristan Penman
cd21f7b250 Fix uninitialised value issues detected by Valgrind when using older versions of RapidJson 2015-10-18 20:29:16 +11:00
Tristan Penman
2c712fd29f Update README with more info about JSON References 2015-10-17 08:41:09 +11:00
Tristan Penman
9216f5f6f1 Fix build issues and compiler warnings with MSVC 2013 2015-10-17 08:27:39 +11:00
Tristan Penman
9b3779a57b Move functions for parsing/unpacking JSON Reference strings to separate header file 2015-10-16 21:33:40 +11:00
Tristan Penman
b54e0b85ae Rename compiler guard for json_pointer.hpp and correct comment after closing of namespace 2015-10-15 14:37:21 +11:00
Tristan Penman
05214c6630 Include property name in validation error when unmatched against properties or regexes in PropertiesConstraint 2015-10-13 13:10:43 +11:00
Tristan Penman
4f4f9cf81b Include exception details when parsing fails in external_schema example 2015-10-13 13:04:14 +11:00
Tristan Penman
e21b31295f Add picojson_adapter.hpp to Xcode project file 2015-10-13 13:03:35 +11:00
Tristan Penman
43f7be480a Allow schema parser to resolve local JSON references from root of document 2015-10-13 12:09:46 +11:00
Tristan Penman
600aeb97a6 Merge pull request #6 from shsfre09/change_behavior_oneof_constraint_error
Push oneOf constraint error only when validation fails actually
2015-07-06 17:35:48 +02:00
Hiroyuki Kobayashi
04ff1dec15 Push oneOf constraint error only when validation fails actually 2015-07-06 22:52:55 +09: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
3ac87e9af2 Add picojson to xcode project 2015-06-17 09:37:51 +10:00
Tristan Penman
e601e10af2 Replace usage of u_int32_t with uint32_t in utf8_utils.h 2015-05-19 22:16:00 +10:00
Tristan Penman
f627ef6e15 Add README.md and LICENSE to Xcode project 2015-05-14 08:13:00 +10:00
Tristan Penman
fb5daa587a Restructure README and include example usage snippets 2015-05-14 08:09:38 +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
Tristan Penman
e1a59c09ba Merge branch 'shsfre09-support_picojson' 2015-05-12 08:16:57 +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
b3b94fb86b Disable auto-linking in Doxygen 2015-05-07 09:08:35 +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
669b1729c8 Add tests for JSON Pointer resolution to CMake build 2015-05-06 16:11:48 +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
b4d7f76b25 Simplify JSON Pointer resolution, improve comments / wording for consistency with spec 2015-05-06 12:50:07 +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
feaea37aee Move JSON Pointer leading slash check out of recursive function 2015-05-06 07:02:27 +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
e1add18889 Reduce string copying in JSON pointer resolution 2015-05-05 20:52:29 +10:00
Tristan Penman
f42a4f9458 Lift rough JSON Pointer resolution functions into separate file 2015-05-05 16:18:21 +10:00
Tristan Penman
e8bb484011 Update Xcode project files 2015-05-04 11:06:20 +10:00
Tristan Penman
4e8997c9ac Update test suite sources in CMakeList.txt file 2015-05-04 11:03:59 +10:00
Tristan Penman
f4179477db Fix README file so that it doesn't cause warnings when processed by doxygen 2015-05-04 11:01:44 +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
46d496b5fb Update SchemaParser to return Adapter instances for JSON reference deref 2015-05-01 15:11:12 +10:00
Tristan Penman
19da922101 Update README to remove divisibleBy exception 2015-04-02 08:38:44 +11: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
04cebebcfd Add char* constructor to RapidJsonFrozenValue to further remove ambiguity 2015-03-23 17:37:21 +11:00
Tristan Penman
f647e75557 Make construction of frozen value from rapidjson::Value explicit to remove ambiguity 2015-03-23 17:28:45 +11:00
Tristan Penman
9cd913a5cd Update RapidJsonAdapter to be compatible with both embedded and latest versions of RapidJSON 2015-03-23 17:01:10 +11:00
Tristan Penman
d538c698c9 Update Doxygen configuration to include README and fix misplaced @deprecated tag 2015-03-23 14:28:19 +11:00
Tristan Penman
88d9edc136 Remove invalid @todos 2015-03-22 22:31:22 +11:00
Tristan Penman
2f332e4223 Use remainder from cmath instead of numeric (which is only defined for C++11) 2015-03-22 22:23:39 +11:00
Tristan Penman
4c93d0ec0a Remove notes about multipleOf from README file 2015-03-22 22:20:33 +11:00
Tristan Penman
b377609efa Implement multipleOf constraint using std::remainder 2015-03-22 22:10:19 +11:00
Tristan Penman
27c065b37f Add missing 'Documentation' heading to README 2015-03-20 16:23:12 +11:00
Tristan Penman
55406945d8 Update README with latest version numbers, build info, and project goals 2015-03-20 16:22:12 +11:00