If a data structures object reads a value as one type, but expects it to be another, attempt to convert the data automatically.
Example:
Due to a bug in the extension, typed arrays are often treated as Array<Dynamic>, leading the data to be written out as [value:Type, value:Type, value:Type]:Dynamic instead of [value, value, value]:Type.
Converters can also be useful when a field's type is changed after some structures have already been created with that field.
If a data structures object reads a value as one type, but expects it to be another, attempt to convert the data automatically.
Example: Due to a bug in the extension, typed arrays are often treated as
Array<Dynamic>
, leading the data to be written out as[value:Type, value:Type, value:Type]:Dynamic
instead of[value, value, value]:Type
.Converters can also be useful when a field's type is changed after some structures have already been created with that field.