cast list
types.castList(format, value)
format | no options (other than the default) |
---|---|
value | lists, or valid JSON format arrays to cast |
#> list()#> [[1]] #> [1] "key" #> #> [[2]] #> [1] "value" #>types.castList(format = "default", value = '["key", "value"]') # cast valid json array#> [[1]] #> [1] "key" #> #> [[2]] #> [1] "value" #>