Skip to content

JsonPatchDocument.Implicit Operator

Definition

Namespace: Corvus.Text.Json.Patch
Assembly: Corvus.Text.Json.dll

Overloads

Operator Description
implicit operator JsonElement(JsonPatchDocument) Converts the instance to a JsonElement.
implicit operator JsonPatchDocument(JsonElement) Converts the instance from a JsonElement.

implicit operator JsonElement(JsonPatchDocument)

Converts the instance to a JsonElement.

public static implicit operator JsonElement(JsonPatchDocument instance)

Parameters

Name Type Description
instance JsonPatchDocument

Returns

JsonElement

An instance of JsonElement, initialized from the IJsonElement.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

implicit operator JsonPatchDocument(JsonElement)

Converts the instance from a JsonElement.

public static implicit operator JsonPatchDocument(JsonElement instance)

Parameters

Name Type Description
instance JsonElement

Returns

JsonPatchDocument

An instance of the type, initialized from the JsonElement.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests.

Open an issue