JsonPointer
Definition
Namespace: Corvus.Text.Json.Patch
Assembly: Corvus.Text.Json.dll
Generated from JSON Schema.
public readonly struct JsonPointer : IJsonElement<JsonPointer>, IJsonElement, IFormattable, ISpanFormattable, IUtf8SpanFormattable
Implements
IJsonElement<JsonPointer>, IJsonElement, IFormattable, ISpanFormattable, IUtf8SpanFormattable
Properties
| Property | Type | Description |
|---|---|---|
DefaultInstance static |
JsonPointer |
Gets the default instance. |
| ValueKind | JsonValueKind |
Methods
| Method | Description |
|---|---|
| Clone() | Gets a JsonPointer which can be safely stored beyond the lifetime of the original document. |
CreateBuilder static |
|
| Equals | |
| EvaluateSchema(IJsonSchemaResultsCollector) | Evaluate this instance against the JSON Schema for this type. |
| Freeze() | Creates a frozen (immutable) copy of this element if it is backed by a mutable document, or returns this instance if it is already immutable. |
From(ref T) static |
Gets an instance of the JSON value from another element. |
| GetHashCode() | |
| GetString() | |
| GetUtf16String() | |
| GetUtf8String() | |
ParseValue static |
Parses one JSON value (including objects or arrays) from the provided span. |
| ToString | |
| TryFormat | |
| TryGetValue(ref string) | |
TryParseValue(ref Utf8JsonReader, ref Nullable<JsonPointer>) static |
Attempts to parse one JSON value (including objects or arrays) from the provided reader. |
| ValueEquals | Compare with a UTF-8 string. |
| WriteTo(Utf8JsonWriter) |
Operators
| Operator | Description |
|---|---|
| Equality | Operator ==. |
| explicit operator string(JsonPointer) | |
| Implicit | Converts the instance to a JsonElement. |
| Inequality | Operator !=. |
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