Parses an Avro schema from JSON.
(value: &JsonValue)
| 621 | |
| 622 | /// Parses an Avro schema from JSON. |
| 623 | pub fn parse(value: &JsonValue) -> AvroResult<Schema> { |
| 624 | let mut parser = Parser::default(); |
| 625 | parser.parse(value, None) |
| 626 | } |
| 627 | |
| 628 | /// Parses an Avro schema from JSON. |
| 629 | /// Any `Schema::Ref`s must be known in the `names` map. |
no outgoing calls