validate.Rd
Given a file of streaming JSON (ndjson) this function reads in the records
and validates that they are all legal JSON records. If the verbose
parameter is TRUE
and errors are found, the line numbers of the
errant records will be displayed.
validate(path, verbose = FALSE)
path | path to file (supports " |
---|---|
verbose | display verbose information (filename and line numbers with bad records) |
logical
#> [1] TRUE#> [1] TRUE