Function lowertest::from_json[][src]

pub fn from_json<C>(
    json: &Value,
    type_name: &str,
    rti: &ReflectedTypeInfo,
    ctx: &mut C
) -> String where
    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.