https://github.com/thomaslorentsen/php-valid-json
Tests what JSON is valid in PHP
https://github.com/thomaslorentsen/php-valid-json
json php php7
Last synced: 3 months ago
JSON representation
Tests what JSON is valid in PHP
- Host: GitHub
- URL: https://github.com/thomaslorentsen/php-valid-json
- Owner: thomaslorentsen
- License: mit
- Created: 2017-08-25T22:51:27.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-26T12:00:32.000Z (almost 9 years ago)
- Last Synced: 2025-08-02T09:26:52.700Z (11 months ago)
- Topics: json, php, php7
- Language: PHP
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/thomaslorentsen/php-valid-json)
# PHP Valid JSON
A Unit Test suite of what JSON is valid in PHP.
## JSON that throws an exception in PHP7
Passing null into ```json_decode``` results in an error
```php
json_decode(null)
```