json_validate
Validate JSON, identify its root type, and return normalized JSON plus a SHA-256 content hash.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | JSON text to validate, up to 100 KB. | |
| l402_proof | No | L402 payment proof "<macaroon>:<preimage>". Omit on the first call; an unpaid call returns a 0 sat Lightning invoice and the macaroon. Pay the invoice, then repeat the call with this argument set. |