Function mz_lowertest::to_json_generic_enum
source ยท pub(crate) fn to_json_generic_enum<I, C>(
variant_snake_case: String,
rest_of_stream: &mut I,
type_name: &str,
rti: &ReflectedTypeInfo,
ctx: &mut C,
) -> Result<String, String>
Expand description
Converts the spec of an enum into deserializable JSON