Pointerclass

Represents a JSON Pointer as defined in RFC 6901.

objectPointer
Namespace
global
Assembly
Sandbox.Engine
Declaration
public class Sandbox.Json.Pointer

Constructors1

Showing 1 constructors

public Pointer(string value)PUBLICCONSTRUCTOR

Initializes a new instance of the `Sandbox.Json.Pointer` class with the specified string.

ParameterTypeDescription
valuestringThe string value of the JSON Pointer.

Methods4

Showing 4 methods

public System.Text.Json.Nodes.JsonNode Evaluate(System.Text.Json.Nodes.JsonNode document)PUBLIC

ParameterTypeDescription
documentJsonNode
Returns:JsonNode

public Sandbox.Json.Pointer GetParent()PUBLIC

Returns a new `Sandbox.Json.Pointer` representing the parent of the current pointer.

Returns:PointerA new `Sandbox.Json.Pointer` for the parent path.

Properties2

Showing 2 properties

public bool Sandbox.Json.Pointer.IsRoot { get; set; }PUBLICGETSET

Returns:bool

public System.Collections.Immutable.ImmutableArray`1<string> Sandbox.Json.Pointer.ReferenceTokens { get; set; }PUBLICGETSET

The reference tokens that make up the JSON Pointer.

Returns:ImmutableArray<string>

On this page