validateJSON {RcppSimdJson} | R Documentation |
Validate a JSON file, fast
Description
By relying on simd-parallel 'simdjson' header-only library JSON files can be parsed very quickly.
Usage
validateJSON(jsonfile)
Arguments
jsonfile |
A character variable with a path and filename |
Value
A boolean value indicating whether the JSON content was parsed successfully
Examples
if (!RcppSimdJson:::.unsupportedArchitecture()) {
jsonfile <- system.file("jsonexamples", "twitter.json", package="RcppSimdJson")
validateJSON(jsonfile)
}
[Package RcppSimdJson version 0.1.12 Index]