Click or drag to resize

CFXJsonSerializerSerializeObject Method

Serializes a CFX object into JSON format

Namespace: CFX.Utilities
Assembly: CFX (in CFX.dll) Version: 1.7.3
Syntax
public static string SerializeObject(
	Object o,
	bool formatted = false
)

Parameters

o  Object
The object to be serialized
formatted  Boolean  (Optional)
If true, the resultant JSON will be formatted for easy human interpretation (whitespace and carriage returns added)

Return Value

String
A string representing the CFX object in JSON format
See Also