19 lines
269 B
Markdown
19 lines
269 B
Markdown
|
# Json
|
||
|
|
||
|
- `v::json()`
|
||
|
|
||
|
Validates if the given input is a valid JSON.
|
||
|
|
||
|
```php
|
||
|
v::json()->validate('{"foo":"bar"}'); // true
|
||
|
```
|
||
|
|
||
|
***
|
||
|
See also:
|
||
|
|
||
|
* [Domain](Domain.md)
|
||
|
* [Email](Email.md)
|
||
|
* [FilterVar](FilterVar.md)
|
||
|
* [Phone](Phone.md)
|
||
|
* [VideoUrl](VideoUrl.md)
|