JSONポインター

JSONポインター

[2] JSON Pointer は、 JSON 文書の一部または全部を識別する指示子言語です。

仕様書

応用

[3] JSON PointerJSON Patch で使われています。

素片識別子

[4] JSON Pointer素片識別子としても使えると RFC 6901 でも一章を設けて説明されています。 ただし JSON Pointer を使う MIME型はなく、 RFC 6901 と同時に RFC 化された JSON Patch ですら素片識別子は規定していません。

[6] >>5 は、 JSON Pointer の構文が Ember.js などの素片識別子の用法と衝突するため、 HTMLJSON内容折衝できるようにしたいなら避けるべきだと述べています。

[7] application/vnd.mason+jsonRFC 6901 を参照しています。

[8] REST API Reference - PayPal Developer ( 版) https://developer.paypal.com/docs/api/

String containing a JSON-Pointer value that references a location within the target document (the target location) where the operation is performed.

[9] JSON API — Latest Specification (v1.0) ( 版) http://jsonapi.org/format/

pointer: a JSON Pointer [RFC6901] to the associated entity in the request document [e.g. "/data" for a primary data object, or "/data/attributes/title" for a specific attribute].

[10] Image API v2 HTTP PATCH media types — Glance Specs 0.0.1.dev157 documentation ( 版) https://specs.openstack.org/openstack/glance-specs/specs/api/v2/http-patch-image-api-v2.html

The ‘application/openstack-images-v2.1-json-patch’ media type defined in this appendix adopts a restricted form of JSON-Pointers. A restricted JSON pointer is a Unicode string containing a sequence of exactly one reference token, prefixed by a ‘/’ (%x2F) character.

If a reference token contains ‘~’ (%x7E) or ‘/’ (%x2F) characters, they must be encoded as ‘~0’ and ‘~1’ respectively.

[11] RFC6901 JSON Pointer Support · Issue #39 · javaee/jsonb-spec () https://github.com/javaee/jsonb-spec/issues/39

[12] draft-pbryan-zyp-json-ref-03 - JSON Reference, https://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03