XDTOSerializer.WriteJSON
Syntax:
Parameters:
<JSONWriter> (required)
Object through which JSON is written.
<Value> (required)
JSON value to be written.
<XMLTypeAssignment> (optional)
An assignment variant of XDTO data item type.
Default value: Implicit.
Description:
Availability:
Note:
Not all value types can be written in XML format using this method.
The following value types can be written in XML: values of the following types: Undefined, Null, Boolean, Number, String, Date, Type, UUID, BinaryData, ValueStorage, TypeDescription, as can data object references and the data objects themselves, sets of register records, and the constant value manager. In the future, this list may be expanded.
Attempt to write the value of an unsupported type triggers an exception.