Tristan Penman
4cf83102af
Minor whitespace fix
2020-01-08 14:39:22 +11:00
Cédric CARRÉE
4338affeb3
Fix bad iterator comparaison when resolving json pointer
...
When resolving a json pointer and use an empty string as a
referenceToken, the value is coerced as an empty object and a temporary empty
object is returned from 'asObject()'. Then we used to compare 2
iterators from 2 differents temporary empty objects.
2020-01-07 16:36:56 +01:00
Tristan Penman
3d3f76df10
Add missing #includes and remove usage of json_parser_error type for boost property_trees
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
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
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