types.castList(format = "default", value = list())
types.castList(format = "default", value = list('key', 'value'))
types.castList(format = "default", value = '["key", "value"]') # cast valid json array
Run the code above in your browser using DataLab