pub(crate) fn to_json_fields<I, C>(
    debug_name: &str,
    stream_iter: &mut I,
    f_names: Vec<&'static str>,
    f_types: Vec<&'static str>,
    rti: &ReflectedTypeInfo,
    ctx: &mut C
) -> Result<String, String> where
    C: TestDeserializeContext,
    I: Iterator<Item = TokenTree>, 
Expand description

Converts the spec for fields of an enum/struct into deserializable JSON.

f_names contains the names of the fields. If the fields are unnamed, f_names is empty. f_types contains the types of the fields.