powered by
This is barely useful on its own but can be of some use in combination with json_array_length().
json_array_length()
json_array_types(x)
A JSON vector.
A character vector of JSON types.
json_type()
# NOT RUN { json_array_types(c("[1, true]", '["a", [1]]')) # }
Run the code above in your browser using DataLab