# ValidateJson()

validate a json string

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

**Returns:** struct

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| json | string | Yes | String to validate *Alias: str* |  |
| schema | string | Yes |  |  |
| throwonError | boolean | No | 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*







# Categories

[JSON](../../categories/json.md)