KiteJSONValidator
KiteJSONValidator copied to clipboard
Consider using CWJSONPointer for path tree
There's an Objective-C project that implements the JSONPointer spec. Rather than use NSURL to manually navigate down the tree, maybe consider using this JSONPath functionality?
https://github.com/C-Works/NSDictionary-CWJSONPointer
Yes, this was developed at the same time as this library. I would be interested to see it used in this project
Hmm. I've recently submitted this PR to the JSON-Schema-Test-Suite: https://github.com/json-schema/JSON-Schema-Test-Suite/pull/65 And I don't believe this library will pass the new test in it's current state.
I think the solution to this will be to look for 'id' tags during resolution. As a result we may have to continue to use our own JSON pointer resolution implementation
I put together a derivative JSONPointer implementation in JSONTools. I've fixed up a few issues that affect CWJSONPointer, and I think this may be one I resolved (I'm not certain, though -- I'll review).
I don't believe resolution context changes via the 'id' property are a part of JSON pointer are they? On 3 Nov 2014 14:43, "Greg Combs" [email protected] wrote:
I put together a derivative JSONPointer implementation in JSONTools. I've fixed up a few issues that affect CWJSONPointer, and I think this may be one I resolved (I'm not certain, though -- I'll review).
— Reply to this email directly or view it on GitHub https://github.com/samskiter/KiteJSONValidator/issues/4#issuecomment-61487044 .