Skip to content

go-openapi/jsonpointer

gojsonpointer

Tests Coverage CI vuln scan CodeQL

Release

Go Report Card CodeFactor Grade

License

GoDoc Slack Channel go version Top language Commits since latest release


An implementation of JSON Pointer - Go language

Status

API is stable.

References

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

also known as RFC6901

Licensing

This library ships under the SPDX-License-Identifier: Apache-2.0.

See the license NOTICE, which recalls the licensing terms of all the pieces of software on top of which it has been built.

Limitations

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 "-" is not implemented.

About

fork of gojsonpointer with support for structs

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 13

Languages