ValidateJson()

edit

validate a json string

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

Returns: Struct

Argument Description Default
json
string, required
edit

String to validate

Alias: str

schema
string, required
edit
throwonError
boolean, optional
edit

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 39,529ms WARN No examples for function ValidateJson

See also