Categorygithub.com/go-openapi/jsonpointer
repositorypackage
0.22.1
Repository: https://github.com/go-openapi/jsonpointer.git
Documentation: pkg.go.dev

# README

gojsonpointer Build Status codecov

Slack Status license Go Reference Go Report Card

An implementation of JSON Pointer - Go language

Status

Completed YES

Tested YES

References

https://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-07

also known as RFC6901

Note

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.

That is because our implementation of the JSON pointer only supports explicit references to array elements: the provision in the spec to resolve non-existent members as "the last element in the array", using the special trailing character "-".