Canonicalize JSON under RFC 8785
canonicalize_jsonConverts a JSON document to RFC 8785 canonical bytes so you can hash, sign, or compare it deterministically.
Instructions
Admit one JSON document and return its RFC 8785 canonical bytes, with the jcs-admit crate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | rfc8785 | |
| document | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||