MCPcopy Create free account
hub / github.com/apache/avro-rs / parse

Method parse

avro/src/schema/mod.rs:623–626  ·  view source on GitHub ↗

Parses an Avro schema from JSON.

(value: &JsonValue)

Source from the content-addressed store, hash-verified

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.

Calls

no outgoing calls