Skip to content

IJsonSchemaResultsCollector.BeginChildContextUnescaped Method

Definition

Namespace: Corvus.Text.Json
Assembly: Corvus.Text.Json.dll
Source: IJsonSchemaResultsCollector.cs

BeginChildContextUnescaped(int, ReadOnlySpan<byte>, JsonSchemaPathProvider, JsonSchemaPathProvider)

Begin a child context for a property evaluation.

public abstract int BeginChildContextUnescaped(int parentSequenceNumber, ReadOnlySpan<byte> unescapedPropertyName, JsonSchemaPathProvider reducedEvaluationPath, JsonSchemaPathProvider schemaEvaluationPath)

Parameters

Name Type Description
parentSequenceNumber int The sequence number of the parent context.
unescapedPropertyName ReadOnlySpan<byte> The name of the property for which to begin a child context.
reducedEvaluationPath JsonSchemaPathProvider The fully reduced evaluation path for the keyword. (optional)
schemaEvaluationPath JsonSchemaPathProvider The schema evaluation path of the target schema. (optional)

Returns

int

The sequence number of the child context.

Remarks

Begins evaluation of a schema in a child context. The context may later be committed with CommitChildContext or abandoned with PopChildContext.

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