SerializationJsonSerializeObject(Object, Boolean, Boolean, Boolean) Method

Serializes an object to a JSON string.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static string JsonSerializeObject(
	Object value,
	bool indentedFormat = false,
	bool microsoftDateFormat = false,
	bool nullValueHandling = true
)

Parameters

value  Object
Object to serialize.
indentedFormat  Boolean  (Optional)
Causes child objects to be indented.
microsoftDateFormat  Boolean  (Optional)
Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/.
nullValueHandling  Boolean  (Optional)
How null values on .NET objects are handled during serialization and how null values in JSON are handled during deserialization.

Return Value

String
String with the serialized object.

See Also