Igor Wiedler b318e8d708 more CS
2011-12-10 13:40:25 +01:00
2011-12-10 13:40:25 +01:00
2011-09-30 19:01:38 +02:00
2011-12-09 13:52:05 -07:00
2011-12-10 12:31:28 +01:00
2011-12-09 14:47:39 -07:00
2011-12-10 12:22:52 +01:00

JSON Schema for PHP

Usage

<?php

$json = json_decode($input_json);
$schema = json_decode($input_schema);
$result = JsonSchema::validate($json, $schema);

if ($result->valid) {
    die('success!');
}
else {
    die('fail...');
}

Running the tests

$ git submodule update --init
$ phpunit
Description
No description provided
Readme MIT 3.6 MiB
Languages
PHP 100%