Click or drag to resize

DesktopUtilsgetJSONString Method

Returns a string 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: 17.6.1
Syntax
C#
public static string getJSONString(
	JObject jsonObject,
	string key,
	string defaultValue = null
)

Parameters

jsonObject
Type: JObject

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

key
Type: SystemString

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

defaultValue (Optional)
Type: SystemString

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

Return Value

Type: String

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

See Also