Rindle docs and package mapSkip to main content

canonical_ast_bytes

Function canonical_ast_bytes 

Source
pub fn canonical_ast_bytes(ast: &Ast) -> Result<Vec<u8>, QueryKeyError>
Expand description

Canonical bytes for a typed AST. This is intentionally not caller-provided raw JSON text: serde defaults normalize omitted optional fields, and object keys are sorted recursively before encoding.