kant1/php-jsonschema-resolver
Composer 安装命令:
composer require kant1/php-jsonschema-resolver
包简介
Simple JSON Schema parser which resolve the ref operator
README 文档
README
This package allow you to parse a JSONSchema file and it can resolve the "$ref" operator.
<?php
require_once __DIR__.'/vendor/autoload.php';
$json = Kant1\JSONElement::fromFile(__DIR__.'/json/simple.json');
foreach($json['paths'] as $url=>$d){
print $url." : ";
foreach($d as $method=>$d){
print $method."\n";
}
}
统计信息
- 总下载量: 32
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0
- 更新时间: 2016-11-18