validateFromString {rmzqc} | R Documentation |
Syntactically validates an mzQC document which is already in memory as JSON string. e.g. the string "{ mzQC : {}}"
Description
If the string object passed into this function contains multiple elements (length > 1). then they will be concatenated using '\n' before validation.
Usage
validateFromString(JSON_string, verbose = TRUE)
Arguments
JSON_string |
A string which contains JSON (multiple lines allowed) |
verbose |
Show extra information if validation fails |
Details
The returned TRUE/FALSE has additional attributes in case of errors. Use attributes(result) to access them.
Value
TRUE/FALSE if validation was successful/failed
[Package rmzqc version 0.5.4 Index]