Skip to main content

parse_shape_json

Function parse_shape_json 

Source
pub fn parse_shape_json(
    runtime: &Runtime,
    json: &str,
) -> Result<TypeShape, SoilError>
Expand description

Parse one shape in the descriptor-JSON encoding ({"tag": "I64"}, {"tag": "Named", "value": "Doc"}, …) against the runtime’s registry. The entry point used by the fixtures harness.