JsonPathProperty<TValue> Struct
Represents an object property exposed by a JsonPathNavigator<TValue>.
public readonly struct JsonPathProperty<TValue>Type parameters
TValue- The node type used by the JSONPath navigator.
Constructors
| Name | Description |
|---|---|
| JsonPathProperty(string, TValue?) | Initializes a new instance of the JsonPathProperty<TValue> struct. |
JsonPathProperty(string, TValue?)
JsonPathProperty`1.csInitializes a new instance of the JsonPathProperty<TValue> struct.
public JsonPathProperty(string name, TValue? value)Parameters
namestring- The property name.
valueTValue?- The property value.
Properties
| Name | Description |
|---|---|
| Name | Gets the property name. |
| Value | Gets the property value. May be null when the navigator represents JSON null as null. |
Gets the property value. May be null when the navigator represents JSON null as null.
public TValue? Value { get; }Property value
TValue?