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)

Arguments

JSON_string

A string which contains JSON (multiple lines allowed)

verbose

Show extra information if validation fails

Value

TRUE/FALSE if validation was successful/failed

Details

The returned TRUE/FALSE has additional attributes in case of errors. Use attributes(result) to access them.