tests/keys.R

library(RJSONIO)

ff = system.file("sampleData", "keys.json", package = "RJSONIO")
print(ff)
z = paste(readLines(ff), collapse = "\n")

fromJSON(I(z))

fromJSON(ff, function(type, val) { cat(names(type), "\n"); TRUE})

Try the RJSONIO package in your browser

Any scripts or data that you put into this service are public.

RJSONIO documentation built on Nov. 27, 2023, 5:09 p.m.