JsonObjectItem(StringSegment) Property
Gets the value of a property by name. Using a nonexistent
propertyName
returns
Undefined, just like in JavaScript.
Namespace: KGySoft.JsonAssembly: KGySoft.Json (in KGySoft.Json.dll) Version: 3.0.0
public JsonValue this[
StringSegment propertyName
] { get; }
Public ReadOnly Default Property Item (
propertyName As StringSegment
) As JsonValue
Get
public:
property JsonValue default[StringSegment propertyName] {
JsonValue get (StringSegment propertyName);
}
member Item : JsonValue with get
- propertyName StringSegment
- The name of the property to get or set.
JsonValueThe value of the property with the specified
propertyName, or
Undefined if no such property is found.