fn parsing_canonical_form(schema: &serde_json::Value) -> String {
    match schema {
        serde_json::Value::Object(map) => pcf_map(map),
        serde_json::Value::String(s) => pcf_string(s),
        serde_json::Value::Array(v) => pcf_array(v),
        serde_json::Value::Number(n) => n.to_string(),
        _ => unreachable!("{:?} cannot yet be printed in canonical form", schema),
    }
}
/// Parses a **valid** avro schema into the Parsing Canonical Form.
/// <https://avro.apache.org/docs/1.8.2/spec.html#Parsing+Canonical+Form+for+Schemas>
Parses a **valid** avro schema into the Parsing Canonical Form.
Parses a ** valid ** avro schema into the Parsing Canonical Form .
fn parsing_canonical_form(schema: &serde_json::Value) -> String {
    match schema {
        serde_json::Value::Object(map) => pcf_map(map),
        serde_json::Value::String(s) => pcf_string(s),
        serde_json::Value::Array(v) => pcf_array(v),
        serde_json::Value::Number(n) => n.to_string(),
        _ => unreachable!("{:?} cannot yet be printed in canonical form", schema),
    }
}
fn parsing_canonical_form ( schema : & serde_json :: Value ) -> String { match schema { serde_json :: Value :: Object ( map ) => pcf_map ( map ) , serde_json :: Value :: String ( s ) => pcf_string ( s ) , serde_json :: Value :: Array ( v ) => pcf_array ( v ) , serde_json :: Value :: Number ( n ) => n . to_string ( ) , _ => unreachable ! ( " " schema ) , } }
Parses a **valid** avro schema into the Parsing Canonical Form.
Parses a ** valid ** avro schema into the Parsing Canonical Form .
schema
&serde_json::Value
schema
&serde_json::Value