{"slug":"data-tools-use-x402atlas-com-json-canonicalize-faa1c0","title":"JSON canonicalization — canonicalize structured data with RFC 8785 JCS; return c","host":"data-tools.use.x402atlas.com","method":"POST","resource":"https://data-tools.use.x402atlas.com/json-canonicalize","category":"other","description":"JSON canonicalization — canonicalize structured data with RFC 8785 JCS; return canonical JSON text, UTF-8 byte length and SHA-256 hash for integrity checks, signature preparation and deduplication. Uses binary64 rounding and strict Unicode/duplicate-key checks; rejects negative zero, overflow and no","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":620,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"value":{"literals":[null,true,false],"numbers":[333333333.3333333,1e+30,4.5,0.002,1e-27],"string":"€$\u000f\nA'B\"\\\\\"/"}},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"description":"Strict JSON canonicalization request","properties":{"value":{"description":"JSON value to canonicalize, <=50000 nodes; JCS rejects negative zero, overflow and nonzero underflow and uses binary64 rounding; unique decoded keys, valid Unicode, depth <=64, finite JSON numeric tokens <=1024 bytes and exponent magnitude <=4096","type":["object","array","string","number","boolean","null"]}},"required":["value"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":false,"description":"Complete structured-data result","properties":{"_atlas":{"additionalProperties":false,"description":"Optional Atlas documentation metadata injected by the platform","properties":{"docs":{"description":"Documentation URL","format":"uri","maxLength":512,"type":"string"},"related":{"description":"Related Atlas routes","items":{"additionalProperties":false,"description":"Related route","properties":{"bridge":{"description":"Bridge name","type":"string"},"docs":{"description":"Documentation URL","type":"string"},"summary":{"description":"Capability summary","type":"string"},"url":{"description":"Paid route URL","type":"string"}},"required":["bridge","url","docs","summary"],"type":"object"},"maxItems":3,"type":"array"}},"required":["docs"],"type":"object"},"algorithm_version":{"const":"rfc8785-jcs-v1","description":"Pinned deterministic algorithm or profile","type":"string"},"canonical_json":{"description":"RFC 8785 JCS text for hashing or signature preparation; UTF-16 key order and ECMAScript binary64 numbers, without Unicode normalization","type":"string"},"input":{"additionalProperties":false,"description":"Normalized input summary","properties":{"node_count":{"description":"Value nodes","maximum":50000,"minimum":0,"type":"integer"}},"required":["node_count"],"type":"object"},"operation":{"const":"json-canonicalize","description":"Stable capability operation, identical across packaging variants","type":"string"},"sha256":{"description":"Lowercase SHA-256 of canonical UTF-8 bytes","pattern":"^[0-9a-f]{64}$","type":"string"},"utf8_bytes":{"description":"UTF-8 bytes in canonical text","maximum":1048576,"minimum":0,"type":"integer"},"warnings":{"description":"Deterministic warnings; empty array when none","items":{"description":"Warning message; no original cell or document values","type":"string"},"maxItems":100,"type":"array"}},"required":["algorithm_version","canonical_json","input","operation","sha256","utf8_bytes","warnings"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":620,"error":null}],"description_full":"JSON canonicalization — canonicalize structured data with RFC 8785 JCS; return canonical JSON text, UTF-8 byte length and SHA-256 hash for integrity checks, signature preparation and deduplication. Uses binary64 rounding and strict Unicode/duplicate-key checks; rejects negative zero, overflow and nonzero underflow.","last_updated":"2026-10-09T19:37:57.353Z","schemes":["exact"]}