Click or drag to resize

UtilityAddTopLevelObjectToJson Method

Hack to add a top level object to a json string because Unity does not like top level collections.

Namespace:  IBM.Watson.DeveloperCloud.Utilities
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static string AddTopLevelObjectToJson(
	string json,
	string objectName
)

Parameters

json
Type: SystemString
The json string.
objectName
Type: SystemString
The name of the top level object.

Return Value

Type: String

[Missing <returns> documentation for "M:IBM.Watson.DeveloperCloud.Utilities.Utility.AddTopLevelObjectToJson(System.String,System.String)"]

See Also