ParsingContext.Parse(JsonNode, Uri) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initiates the parsing process. Not thread safe and should only be called once on a parsing context
public Microsoft.OpenApi.OpenApiDocument Parse(System.Text.Json.Nodes.JsonNode jsonNode, Uri location);
member this.Parse : System.Text.Json.Nodes.JsonNode * Uri -> Microsoft.OpenApi.OpenApiDocument
Public Function Parse (jsonNode As JsonNode, location As Uri) As OpenApiDocument
Parameters
- jsonNode
- JsonNode
Set of Json nodes to parse.
- location
- Uri
Location of where the document that is getting loaded is saved
Returns
An OpenApiDocument populated based on the passed yamlDocument