Click or drag to resize

CFXJsonSerializerSerializeObjectWithTypes Method

Serializes a CFX object into JSON format, including type information

Namespace: CFX.Utilities
Assembly: CFX (in CFX.dll) Version: 2.1.1+880255d2f7380f340f56b243a51d99f2136bdae3
Syntax
public static string SerializeObjectWithTypes(
	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