Function mz_lowertest::from_json
source ยท pub fn from_json<C>(
json: &Value,
type_name: &str,
rti: &ReflectedTypeInfo,
ctx: &mut C,
) -> Stringwhere
C: TestDeserializeContext,
Expand description
Converts serialized JSON to the syntax that to_json handles.
json
is assumed to have been produced by serializing an object of type
type_name
.
ctx
is responsible for converting serialized JSON to any syntax
extensions or overrides.