commit | 1761b841822421cfac71a5cc6fa8f145e1875f3b | [log] [tgz] |
---|---|---|
author | Olivier Mengué <dolmen@cpan.org> | Mon May 16 09:09:17 2016 +0200 |
committer | Olivier Mengué <dolmen@cpan.org> | Mon May 16 09:09:17 2016 +0200 |
tree | 782ad98908e5843f3ebbed31f740ee29a6e839fa | |
parent | 318d067cbab77119f3a3fc0fe74fea4d35f0deb7 [diff] |
Constructor: refactor to simplify - Return early. - One less level of if blocks - Byte comparison is just enough to compare to '/'
An implementation of JSON Pointer - Go language
http://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-07
The 4.Evaluation part of the previous reference, starting with ‘If the currently referenced value is a JSON array, the reference token MUST contain either...’ is not implemented.