ValidateJson()

validate a json string

ValidateJson( json=string, schema=string, throwonError=boolean );

Returns: Struct

Argument Description Default
json
string, required

String to validate

Alias: str

schema
string, required
throwonError
boolean, optional

throw an exception in case of an error, when false no exception is thrown, instead the errors are returned in an array of structs.

false

Examples

There are currently no examples for this function 21,939ms WARN No examples for function validatejson

See also