rodrigonull/json-guard
Composer 安装命令:
composer require rodrigonull/json-guard
包简介
A validator for JSON using json-schema.
README 文档
README
This package is a validator for JSON Schema. It fully supports draft 4 of the specification.
Notable Features:
- Passes the entire draft 4 JSON Schema Test Suite.
- Fully supports remote references.
- Fully supports circular references.
- Unique error codes for every validation error.
Install
Via Composer
composer require league/json-guard
Usage
Complete documentation is available here.
Change log
Please see CHANGELOG for more information about what has changed recently.
Testing
You need to run a web server while testing. A simple node server is in the tests directory.
$ node tests/server.js
Once the server is running, you can run the test suite.
$ composer test
Contributing
Please see CONTRIBUTING for details.
Stability
This package is pre 1.0 so anything can break at any time. That being said, breaking changes are typically released in the minor version (the x in 0.x.y).
Security
If you discover any security related issues, please email matthew.james.allan@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 21
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-01-09