pre_get_array: numericalize children numeric name to convert JSON object to...

View source: R/node.R

pre_get_arrayR Documentation

numericalize children numeric name to convert JSON object to JSON array

Description

numericalize children numeric name to convert JSON object to JSON array

Usage

pre_get_array(x)

Arguments

x

input list

Value

unname numeric names list which is prepared to convert to JSON array

Examples

demo_list <- list("1" = 1, "2" = 2, list("1" = 1, "2" = 2))
pre_get_array(demo_list)


forestry documentation built on Nov. 21, 2023, 1:07 a.m.