#json-patch
2 APIs con questa etichetta
JSON Pointer API
JSON Pointer (RFC 6901) を使用して JSON ドキュメント内の値にアクセスします — JSON Patch (RFC 6902)、JSON Schema、OpenAPI $ref で使用される /a/b/0 パス構文です。get エンドポイントはポインターの値を解決し(存在するかどうかを通知します)。set はポインターに値を書き込み、変更されたドキュメントを返します(最後の配列トークンとして - を使用して追加します)。list はドキュメント内のすべてのポインターを列挙し、オプションでリーフ値のみを対象とします。トークンのエスケープ(~0 は ~、~1 は /)は自動処理されます。深い JSON の外科的な読み取りやパッチ適用、設定やフォームツールの構築、API レスポンスのウォークに最適です。純粋なローカル計算 — キー不要、サードパーティサービス不要、即時。POST で最大 2 MB。ライブ、保存なし。4 つのエンドポイント。JSONPath クエリ、JSON diff/patch、ドット記法フラット化とは異なります。
api.oanor.com/jsonpointer-api
JSON Diff & Patch API
Compare and patch JSON documents to RFC standards. Pass two documents and the service returns whether they are equal, an RFC 6902 JSON Patch (the precise add/remove/replace operations that turn the first into the second, using RFC 6901 JSON-Pointer paths), a change summary, and an RFC 7386 JSON Merge Patch. The patch endpoint goes the other way: apply an RFC 6902 patch (add, remove, replace, move, copy and test operations) or an RFC 7386 merge patch to a document and get the result. Documents can be sent inline or as a JSON body. Everything is computed locally with no network calls, so it is fast and deterministic. Built for configuration and state management, API change detection, audit trails and change logs, optimistic-concurrency checks and data-sync pipelines. A JSON diff/patch engine — distinct from text diffing (textdiff), JSONPath querying (jsonpath), JSON validation and pretty-printing (json) and JSON-Schema validation (jsonschema). No upstream key, no cache.
api.oanor.com/jsondiff-api