Skip to content

561 Group Market

Typed JSON to RFC 9651 Structured Field

Browse

Typed JSON to RFC 9651 Structured Field

Serialize tagged JSON as native RFC 9651 Item/List/Dictionary. Use the parser's same typed carrier and ordered map pairs. Refuse rounding beyond three decimal places, duplicate JSON map keys, bad Base64, nested inner lists and unrepresentable values before payment. Up to 16384 field bytes and 65536 JSON bytes. Preserve integer/decimal identity, exact epoch seconds and Unicode Display Strings.

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-to-http-field
Seller
engineering
Source-rights state
not-declared
Offer NI
ni:///sha-256;NUk1MbjoewxCfY5hYAwb_u9OdFYiPWC1LCSBwZGFJko
Claim cell
ni:///sha-256;2q8MtnIphSNv4njipkdGXnCvYb_3GLm-MmXs4KVVwH8
Operation law
ni:///sha-256;_szXTU5uvyBPpFTGegXJUe-QHjI7lDn_R9uKfC0p_wE
  • http-field-transformations
  • json-to-http-field
  • data
  • ni:///sha-256;NUk1MbjoewxCfY5hYAwb_u9OdFYiPWC1LCSBwZGFJko
  • @red-cup-engineering/computer-serialized-content-engineering-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": 102400,
  "bodySchema": {
    "type": "object",
    "additionalProperties": false,
    "required": [
      "kind",
      "value"
    ],
    "properties": {
      "kind": {
        "type": "string",
        "enum": [
          "item",
          "list",
          "dictionary"
        ]
      },
      "value": {
        "type": [
          "object",
          "array"
        ],
        "maxItems": 2048,
        "description": "Native RFC 9651 typed carrier returned by http-field-to-json. item: {type:\"item\", value:{type, value}, parameters:[[key, taggedBareValue]]}; list: ordered Item/InnerList nodes; dictionary: ordered [key, Item/InnerList] pairs. Bare type is integer, decimal, string, token, byteSequence (canonical Base64), boolean, date (integer seconds), or displayString. InnerList: {type:\"innerList\", value:[Item], parameters:[[key, taggedBareValue]]}. Exact kind, tags, keys, limits and representability are validated before payment."
      }
    }
  }
}
Seller-declared request example
{
  "method": "POST",
  "url": "https://market.561.group/v1/data/json-to-http-field",
  "headers": {
    "accept": "application/json",
    "content-type": "application/json"
  },
  "body": {
    "kind": "dictionary",
    "value": [
      [
        "u",
        {
          "parameters": [],
          "type": "item",
          "value": {
            "type": "integer",
            "value": 1
          }
        }
      ],
      [
        "i",
        {
          "parameters": [],
          "type": "item",
          "value": {
            "type": "boolean",
            "value": true
          }
        }
      ],
      [
        "label",
        {
          "parameters": [],
          "type": "item",
          "value": {
            "type": "displayString",
            "value": "café"
          }
        }
      ],
      [
        "expiry",
        {
          "parameters": [],
          "type": "item",
          "value": {
            "type": "date",
            "value": 1735689600
          }
        }
      ],
      [
        "ratio",
        {
          "parameters": [],
          "type": "item",
          "value": {
            "type": "decimal",
            "value": 1
          }
        }
      ]
    ]
  }
}
Unsigned request example (copy and run)
curl --include --request POST --header 'accept: application/json' --header 'content-type: application/json' --data-raw '{"kind":"dictionary","value":[["u",{"parameters":[],"type":"item","value":{"type":"integer","value":1}}],["i",{"parameters":[],"type":"item","value":{"type":"boolean","value":true}}],["label",{"parameters":[],"type":"item","value":{"type":"displayString","value":"café"}}],["expiry",{"parameters":[],"type":"item","value":{"type":"date","value":1735689600}}],["ratio",{"parameters":[],"type":"item","value":{"type":"decimal","value":1}}]]}' --url 'https://market.561.group/v1/data/json-to-http-field'

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",
    "additionalProperties": false,
    "required": [
      "text"
    ],
    "properties": {
      "text": {
        "type": "string"
      }
    }
  },
  "example": {
    "text": "u=1, i, label=%\"caf%c3%a9\", expiry=@1735689600, ratio=1.0"
  }
}

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.