validateFromString | R Documentation |
If the string object passed into this function contains multiple elements (length > 1). then they will be concatenated using '\n' before validation.
validateFromString(JSON_string, verbose = TRUE)
JSON_string |
A string which contains JSON (multiple lines allowed) |
verbose |
Show extra information if validation fails |
The returned TRUE/FALSE has additional attributes in case of errors. Use attributes(result) to access them.
TRUE/FALSE if validation was successful/failed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.