R/json.R
d3_json.Rd
Create 'JSON' that 'd3.js' Expects
d3_json(x = NULL, strip = TRUE)
data, usually in the form of data.frame or list
data.frame
list
logical to remove outer array. Use strip=TRUE for hierarchies from d3_nest
logical
strip=TRUE
d3_nest
string of 'JSON' data
string