fromJSON('{"a":5} {"b": 1}')
$a
[1] 5
This should return an error, as the input is more than a single json object.
see http://stackoverflow.com/questions/37128363/only-one-json-line-was-read-in-rjson
At the same time, we should support streams of json with the jsonparser: https://github.com/alexcb/rjson/blob/master/rjson/inst/rpc_server/server.r#L61
This should return an error, as the input is more than a single json object.
see http://stackoverflow.com/questions/37128363/only-one-json-line-was-read-in-rjson
At the same time, we should support streams of json with the jsonparser: https://github.com/alexcb/rjson/blob/master/rjson/inst/rpc_server/server.r#L61