Skip to main content

Module json

Module json 

Source

Enums§

JsonValue
Minimal JSON value representation with zero external dependencies. BTreeMap<String, JsonValue> preserves ascending Unicode code-point order because Rust String ordering compares UTF-8 bytes, which matches code-point order.

Functions§

canonical_binding_json
Build the canonical binding envelope JSON for (operation, scope, input).
canonical_hash
Compute the 64-character lowercase SHA-256 hex digest of the canonical write binding.
canonical_json
Serialize any JsonValue to deterministic canonical JSON matching SPEC.md section 3.
parse_json
Parse a JSON string into a JsonValue.