Skip to content

JsonPatchDocument.AddOperation.Builder.Create Method

Definition

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

Overloads

Method Description
Create(JsonPointer.Source, JsonElement.Source)
Create(TContext, JsonPointer.Source, JsonElement.Source<TContext>)

Create(JsonPointer.Source, JsonElement.Source)

public void Create(in JsonPointer.Source path, in JsonElement.Source value)

Parameters

Name Type Description
path JsonPointer.Source
value JsonElement.Source

Applies To

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

Create(TContext, JsonPointer.Source, JsonElement.Source<TContext>)

public void Create<TContext>(in TContext context, in JsonPointer.Source path, in JsonElement.Source<TContext> value)

Parameters

Name Type Description
context TContext
path JsonPointer.Source
value JsonElement.Source<TContext>

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