Flexible List Serializer
Custom serializer that handles server inconsistencies where a list field might be sent as:
A proper JSON array: ...
An empty string: ""
A number: 0
null
This converts non-array values to empty list.
Custom serializer that handles server inconsistencies where a list field might be sent as:
A proper JSON array: ...
An empty string: ""
A number: 0
null
This converts non-array values to empty list.