Cast object data which is lists or valid JSON.
types.castObject(format, value)
| format | no options (other than the default) | 
|---|---|
| value | object to cast | 
#> list()types.castObject(format = "default", value = "{}")#> named list()types.castObject(format = "default", value = '{"key": "value"}')#> $key #> [1] "value" #>