fn from_str(input: &str) -> Result<Self, AvroError> {
        let value = serde_json::from_str(input)
            .map_err(|e| ParseSchemaError::new(format!("Error parsing JSON: {}", e)))?;
        Self::parse(&value)
    }
/// Create a `Schema` from a string representing a JSON Avro schema.
Create a `Schema` from a string representing a JSON Avro schema.
Create a ` Schema ` from a string representing a JSON Avro schema .
fn from_str(input: &str) -> Result<Self, AvroError> {
        let value = serde_json::from_str(input)
            .map_err(|e| ParseSchemaError::new(format!("Error parsing JSON: {}", e)))?;
        Self::parse(&value)
    }
fn from_str ( input : & str ) -> Result < Self , AvroError > { let value = serde_json :: from_str ( input ) . map_err ( | e | ParseSchemaError :: new ( format ! ( " " e ) ) ) ? ; Self :: parse ( & value ) }
Create a `Schema` from a string representing a JSON Avro schema.
Create a ` Schema ` from a string representing a JSON Avro schema .
input
&str
input
&str