createStreamingParser function

StreamParser createStreamingParser(
  1. JsonSchema schema, {
  2. String? rootName,
})

lang-core createStreamingParser; pass library.toJsonSchema().

Implementation

StreamParser createStreamingParser(JsonSchema schema, {String? rootName}) =>
    StreamParser(CompiledSchema.fromJsonSchema(schema), rootName: rootName);