2017 © Pedro Peláez
 

library php-jsonschema-resolver

Simple JSON Schema parser which resolve the ref operator

image

kant1/php-jsonschema-resolver

Simple JSON Schema parser which resolve the ref operator

  • Friday, November 18, 2016
  • by kant11
  • Repository
  • 1 Watchers
  • 1 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 18 % Grown

The README.md

PHP-JSONSCHEMA-RESOLVER

This package allow you to parse a JSONSchema file and it can resolve the "$ref" operator., (*1)

<?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";
    }
}

The Versions

18/11 2016

dev-master

9999999-dev

Simple JSON Schema parser which resolve the ref operator

  Sources   Download

LGPL-3.0

The Requires

  • php >=5.6.0

 

json resolver jsonschema ref

18/11 2016

1.0.0

1.0.0.0

Simple JSON Schema parser which resolve the ref operator

  Sources   Download

LGPL-3.0

The Requires

  • php >=5.6.0

 

json resolver jsonschema ref