tests/con2.R

library(RJSONIO)
con = textConnection("[1, 2, 3,\n4]"); fromJSON(con)

try({con = textConnection("[1, 2, 3,]"); fromJSON(con)})
duncantl/RJSONIO documentation built on Aug. 30, 2023, 1:21 a.m.