Click or drag to resize

DesktopUtilsgetJSONArray Method

Returns a JArray identified by "key" from "jsonObject".

"defaultValue" is returned if no match is found.

The JSON object to retrieve the JArray from.The key to search for.The value to return if no key match is found.

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.5.1
Syntax
C#
public static JArray getJSONArray(
	JObject jsonObject,
	string key,
	JArray defaultValue = null
)

Parameters

jsonObject
Type: JObject

[Missing <param name="jsonObject"/> documentation for "M:Openfin.Desktop.DesktopUtils.getJSONArray(Newtonsoft.Json.Linq.JObject,System.String,Newtonsoft.Json.Linq.JArray)"]

key
Type: SystemString

[Missing <param name="key"/> documentation for "M:Openfin.Desktop.DesktopUtils.getJSONArray(Newtonsoft.Json.Linq.JObject,System.String,Newtonsoft.Json.Linq.JArray)"]

defaultValue (Optional)
Type: JArray

[Missing <param name="defaultValue"/> documentation for "M:Openfin.Desktop.DesktopUtils.getJSONArray(Newtonsoft.Json.Linq.JObject,System.String,Newtonsoft.Json.Linq.JArray)"]

Return Value

Type: JArray

[Missing <returns> documentation for "M:Openfin.Desktop.DesktopUtils.getJSONArray(Newtonsoft.Json.Linq.JObject,System.String,Newtonsoft.Json.Linq.JArray)"]

See Also