Skip to content

561 Group Market

JSON Changes to RFC 6902 Patch

Browse

JSON Changes to RFC 6902 Patch

Generate an interoperable RFC 6902 patch transforming before into after. Escapes JSON Pointer keys and uses deterministic object-key and positional array edits. Not a minimal-patch optimizer. Up to 128 operations. Ordinary finite JSON, valid Unicode; 64 KiB canonical request/result, depth 64, 8192 nodes, 4096 array elements.

Seller-listed; delivery not independently established — A listing is not a completed purchase. The live HTTP 402 challenge supplies current payment terms.

Price preview
from $0.0012 USDC
Method
POST
Endpoint
https://market.561.group/v1/data/json-patch-create
Seller
engineering
Source-rights state
not-declared
Offer NI
ni:///sha-256;8kv6I_LKssBjPqxyrcGNDjmz0EWcGePrnEJUIH_Dbk0
Claim cell
ni:///sha-256;Q-_tnE-_Em1yS-sY-Oz9wMsfXDn65nJizzxYlGzFSio
Operation law
ni:///sha-256;RDweQTY6wDQ7EckxcvPbyde79vUCS_H6RG7UQAmEglQ
  • json-transformation
  • json-patch-create
  • data
  • ni:///sha-256;8kv6I_LKssBjPqxyrcGNDjmz0EWcGePrnEJUIH_Dbk0
  • @red-cup-engineering/json-services-section
  • engineering

The seller offers this resource under the stated method and contract. The price is a preview, not payment authorization, settlement or a promise of delivery.

Request contract
{
  "maxBytes": 1048576,
  "bodySchema": {
    "type": "object",
    "additionalProperties": false,
    "properties": {
      "before": {},
      "after": {}
    },
    "required": [
      "before",
      "after"
    ]
  }
}
Seller-declared request example
{
  "method": "POST",
  "url": "https://market.561.group/v1/data/json-patch-create",
  "headers": {
    "accept": "application/json",
    "content-type": "application/json"
  },
  "body": {
    "before": {
      "a/b": 1,
      "old": true
    },
    "after": {
      "a/b": 2,
      "new": [
        3
      ]
    }
  }
}
Unsigned request example (copy and run)
curl --include --request POST --header 'accept: application/json' --header 'content-type: application/json' --data-raw '{"before":{"a/b":1,"old":true},"after":{"a/b":2,"new":[3]}}' --url 'https://market.561.group/v1/data/json-patch-create'

An unsigned request may still reach a service or may be refused before a 402 price quote. It does not authorize or settle a payment. Review the request and approve current terms separately.

Declared output
{
  "schema": {
    "type": "array",
    "maxItems": 128,
    "items": {
      "type": "object",
      "required": [
        "op",
        "path"
      ],
      "properties": {
        "op": {
          "type": "string",
          "enum": [
            "add",
            "remove",
            "replace",
            "move",
            "copy",
            "test"
          ]
        },
        "path": {
          "type": "string",
          "description": "RFC 6901 string pointer; empty string addresses the root. URI fragments are not patch paths."
        },
        "from": {
          "type": "string",
          "description": "Required by move and copy; RFC 6901 string pointer."
        },
        "value": {
          "description": "Required by add, replace and test; any admitted JSON value."
        }
      },
      "description": "RFC 6902 operation. Undefined operation members are ignored. Conditional value/from requirements are enforced by native admission."
    }
  },
  "example": [
    {
      "op": "remove",
      "path": "/old"
    },
    {
      "op": "add",
      "path": "/new",
      "value": [
        3
      ]
    },
    {
      "op": "replace",
      "path": "/a~1b",
      "value": 2
    }
  ]
}

How to buy with x402

  1. Review the request before sending it. It may still reach a service. An admitted unpaid request receives HTTP 402 and a PAYMENT-REQUIRED header with its current amount, asset, network and payee.
  2. Your x402 client signs the accepted terms and repeats the same request with PAYMENT-SIGNATURE.
  3. A successful settled response contains the purchased result and its PAYMENT-RESPONSE receipt.

How x402 purchasing works

Source and machine access

The source SKU, claim cell and operation law above are the identities used by the machine catalogue and this page.

Need a correction or accessible service help? Report this offer problem. Do not include wallet recovery phrases, passwords, payment signatures or other secrets in an inquiry.