mirror of
https://github.com/Respect/Validation.git
synced 2026-03-17 15:50:03 +01:00
24 lines
334 B
Markdown
24 lines
334 B
Markdown
# Json
|
|
|
|
- `Json()`
|
|
|
|
Validates if the given input is a valid JSON.
|
|
|
|
```php
|
|
v::json()->validate('{"foo":"bar"}'); // true
|
|
```
|
|
|
|
## Changelog
|
|
|
|
Version | Description
|
|
--------|-------------
|
|
0.3.9 | Created
|
|
|
|
***
|
|
See also:
|
|
|
|
- [Domain](Domain.md)
|
|
- [Email](Email.md)
|
|
- [FilterVar](FilterVar.md)
|
|
- [Phone](Phone.md)
|
|
- [VideoUrl](VideoUrl.md)
|