Skip to content

JsonString.Implicit Operator

Definition

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

Overloads

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

implicit operator JsonElement(JsonString)

Converts the instance to a JsonElement.

public static implicit operator JsonElement(JsonString instance)

Parameters

Name Type Description
instance JsonString

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 JsonString(JsonElement)

Converts the instance from a JsonElement.

public static implicit operator JsonString(JsonElement instance)

Parameters

Name Type Description
instance JsonElement

Returns

JsonString

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