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

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 10.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