Click or drag to resize

DesktopUtilsgetJSONObject Method

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

"defaultValue" is returned if no match is found.

The JSON object to retrieve a value 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: 14.1.0-alpha3
Syntax
C#
public static JObject getJSONObject(
	JObject jsonObject,
	string key,
	JObject defaultValue = null
)

Parameters

jsonObject
Type: JObject

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

key
Type: SystemString

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

defaultValue (Optional)
Type: JObject

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

Return Value

Type: JObject

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

See Also