deserializeOptList

Parse a JSONArray to a List of objects that extend ModelObject. Result can also be null if the object is null.

Return

The List of objects from the JSONArray.

Parameters

jsonArray

The JSONArray to be parsed.

serializer

The serializer of the ModelObject class to be used.

The type o the ModelObject class to be parse to.