Skip to main content

Module dump

Module dump 

Source
Expand description

The self-description proof: given message bytes and nothing else, recover the writer schema from the inline region and render every present field — with its human-readable name — as JSON.

Functions§

dump_json
Decode a message using only its own bytes. Requires the message to have been encoded with crate::SchemaMode::Inline.
dump_json_with
Render a hash-only message using a writer schema supplied from outside the message — a registry, or a .verit file’s schema section. Same output as dump_json; the difference is only where the schema came from.