Converts a JSONArray to a List.
a List representing the input, or null if said input is null
null
a JSONArray to be converted