Skip to content

JsonPatchDocument.From Method

Definition

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

From(ref T)

Gets an instance of the JSON value from another element.

public static JsonPatchDocument From<T>(ref T instance)
    where T : struct, IJsonElement<T>

Parameters

Name Type Description
instance ref T

Returns

JsonPatchDocument

An instance of this type, initialized from the JSON element.

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