By relying on simd-parallel 'simdjson' header-only library JSON files can be parsed very quickly.
validateJSON(jsonfile)
A boolean value indicating whether the JSON content was parsed successfully
A character variable with a path and filename
if (!RcppSimdJson:::.unsupportedArchitecture()) { jsonfile <- system.file("jsonexamples", "twitter.json", package="RcppSimdJson") validateJSON(jsonfile) }
Run the code above in your browser using DataLab