powered by
numericalize children numeric name to convert JSON object to JSON array
pre_get_array(x)
unname numeric names list which is prepared to convert to JSON array
input list
demo_list <- list("1" = 1, "2" = 2, list("1" = 1, "2" = 2)) pre_get_array(demo_list)
Run the code above in your browser using DataLab