Skip to content

561 Group Market

JSON to Deterministic CBOR

Browse

JSON to Deterministic CBOR

Encode one ordinary JSON value as RFC 8949 deterministic CBOR. Return exact bytes in a canonical Base64 application/cbor carrier and both byte lengths. Text spelling and own map keys are preserved; no Unicode normalization. Finite numbers only; negative zero and unpaired surrogates refused. Maximum 65536 JSON/CBOR bytes, 8192 parsing events and depth 64. No tag invention, storage or upstream API.

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/cbor-json-encode
Seller
engineering
Source-rights state
not-declared
Offer NI
ni:///sha-256;1n0z_sL7Fvdp4qHPzf1T5pJCeb1zMfQlYAn0iXI4aUU
Claim cell
ni:///sha-256;5BmZJ5Bah4FmeDLDg7ENcWYVxRoZ9WhswB2IY3d3lrI
Operation law
ni:///sha-256;6T24UzNaV1BRA17r6Aj0VC3SJ5rDmAQTsVirg7Jx4FQ
  • cbor
  • cbor-json-encode
  • data
  • ni:///sha-256;1n0z_sL7Fvdp4qHPzf1T5pJCeb1zMfQlYAn0iXI4aUU
  • @red-cup-engineering/cbor-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": 524800,
  "bodySchema": {
    "type": "object",
    "additionalProperties": false,
    "required": [
      "value"
    ],
    "properties": {
      "value": {
        "type": [
          "object",
          "array",
          "string",
          "number",
          "boolean",
          "null"
        ],
        "description": "Ordinary JSON, at most 65536 UTF-8 bytes, 8192 nodes/parsing events and depth 64. Finite numbers, well-formed Unicode, no negative zero."
      }
    }
  }
}
Seller-declared request example
{
  "method": "POST",
  "url": "https://market.561.group/v1/data/cbor-json-encode",
  "headers": {
    "accept": "application/json",
    "content-type": "application/json"
  },
  "body": {
    "value": {
      "a": 1,
      "b": [
        true,
        null,
        "café"
      ]
    }
  }
}
Unsigned request example (copy and run)
curl --include --request POST --header 'accept: application/json' --header 'content-type: application/json' --data-raw '{"value":{"a":1,"b":[true,null,"café"]}}' --url 'https://market.561.group/v1/data/cbor-json-encode'

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": "object",
    "required": [
      "carrier",
      "byteLength",
      "jsonByteLength"
    ],
    "properties": {
      "carrier": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "mediaType",
          "contentBase64"
        ],
        "properties": {
          "mediaType": {
            "const": "application/cbor"
          },
          "contentBase64": {
            "type": "string",
            "maxLength": 87384
          }
        }
      },
      "byteLength": {
        "type": "integer",
        "minimum": 1,
        "maximum": 65536
      },
      "jsonByteLength": {
        "type": "integer",
        "minimum": 1,
        "maximum": 65536
      }
    }
  },
  "example": {
    "carrier": {
      "mediaType": "application/cbor",
      "contentBase64": "omFhAWFig/X2ZWNhZsOp"
    },
    "byteLength": 15,
    "jsonByteLength": 31
  }
}

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.