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 the T separator) is not supported for serialization, but it is supported for deserialization.
  • Converting objects or arrays to scalar types (such as INTEGER or STRING) always fails.
  • json.Serializer does not accept null values by default; it requires the use of the attribute json_null="null".
  • BOOLEAN values do not auto-cast from arbitrary string values, such as "toto".