OpenApiDeprecationExtension.Parse(JsonNode) 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.
Parses the JsonNodeExtension to OpenApiDeprecationExtension.
public static Microsoft.OpenApi.MicrosoftExtensions.OpenApiDeprecationExtension Parse(System.Text.Json.Nodes.JsonNode source);
static member Parse : System.Text.Json.Nodes.JsonNode -> Microsoft.OpenApi.MicrosoftExtensions.OpenApiDeprecationExtension
Public Shared Function Parse (source As JsonNode) As OpenApiDeprecationExtension
Parameters
- source
- JsonNode
The source object.
Returns
The OpenApiDeprecationExtension.
Exceptions
When the source element is not an object