Limitations
This section outlines the serialization features that are not supported or have limited
support in json.Serializer
.
The following are the limitations of
json.Serializer
regarding serialization features:- The ISO 8601 format for
DATETIME
(with theT
separator) is not supported for serialization, but it is supported for deserialization. - Converting objects or arrays to scalar types (such as
INTEGER
orSTRING
) always fails. json.Serializer
does not accept null values by default; it requires the use of the attributejson_null="null"
.BOOLEAN
values do not auto-cast from arbitrary string values, such as "toto".