JsonValueItem(String) Property

If the type of this JsonValue is Object and propertyName denotes an existing property, then gets the value of the specified propertyName; otherwise, returns Undefined.

Definition

Namespace: KGySoft.Json
Assembly: KGySoft.Json (in KGySoft.Json.dll) Version: 3.0.0
C#
public JsonValue this[
	string propertyName
] { get; }

Parameters

propertyName  String
The name of the property to return its value.

Return Value

JsonValue
The value of the specified propertyName, or Undefined if propertyName is invalid or Type is not Object.

See Also