JsonProperty<TValue>
Definition
Namespace: Corvus.Text.Json
Assembly: Corvus.Text.Json.dll
Source: JsonProperty.cs
Represents a single property for a JSON object.
public readonly struct JsonProperty<TValue>
where TValue : struct, IJsonElement<TValue>
Type Parameters
| Parameter |
Description |
TValue |
The type of the value. |
Properties
Methods
| Method |
Description |
| NameEquals |
Compares text to the name of this property. |
| ToString() |
Provides a String representation of the property for debugging purposes. |
| WriteTo(Utf8JsonWriter) |
Write the property into the provided writer as a named JSON object property. |
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