2017 © Pedro Peláez
 

library json-validator

Validate json data with json-schema

image

texthtml/json-validator

Validate json data with json-schema

  • Wednesday, February 14, 2018
  • by mathroc
  • Repository
  • 1 Watchers
  • 0 Stars
  • 318 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 6 % Grown

The README.md

json-validator

$validator = \TH\JsonValidator\JsonValidator::create();
$data = json_decode($dataJsonString);
$validator->validate($data, (object)["\$ref" => "file://" . __DIR__."/data-schema.json"]));

$decoder = \TH\JsonValidator\JsonDecoder::create();
$data = $decoder->decode($dataJsonString, (object)["\$ref" => "file://" . __DIR__."/data-schema.json"]));

The Versions

14/02 2018

dev-master

9999999-dev https://github.com/texthtml/json-schema

Validate json data with json-schema

  Sources   Download

AGPLv3 AGPL-3.0-or-later

The Requires

 

json validation json-schema

02/03 2017

v1.2.0

1.2.0.0 https://github.com/texthtml/json-schema

Validate json data with json-schema

  Sources   Download

AGPLv3

The Requires

 

json validation json-schema

28/02 2017

v1.1.0

1.1.0.0 https://github.com/texthtml/json-schema

Validate json data with json-schema

  Sources   Download

AGPLv3

The Requires

 

json validation json-schema

13/12 2016

v1.0.0

1.0.0.0 https://github.com/texthtml/json-schema

Validate json data with json-schema

  Sources   Download

AGPLv3

The Requires

 

json validation json-schema