Click or drag to resize
ScriptHelperJsonSerializeObject Method
Serializes the specified object to a JSON string using default formatting

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static string JsonSerializeObject(
	Object value
)

Parameters

value
Type: SystemObject
The object to serialize.

Return Value

Type: String
A JSON string representation of the object.
Remarks
We have to use this method because of breaking change in code (Newtonsoft.Json), causing runtime error due to not-accessible methods
See Also