ex

Fork of mbed-os-example-mbed5-blinky by mbed-os-examples

Committer:
TMBOY
Date:
Tue Jul 18 16:27:22 2017 +0800
Revision:
44:c1d8923072ba
?

Who changed what in which revision?

UserRevisionLine numberNew contents of line
TMBOY 44:c1d8923072ba 1 ## JsonSchema\Validator Demo
TMBOY 44:c1d8923072ba 2
TMBOY 44:c1d8923072ba 3 This demo script uses the example from the root README.md and provides sample JSON files for testing `JsonSchema\Validator`.
TMBOY 44:c1d8923072ba 4
TMBOY 44:c1d8923072ba 5 To change or replace the JSON schema document, please edit `/path/to/json-schema/demo/schema.json`.
TMBOY 44:c1d8923072ba 6
TMBOY 44:c1d8923072ba 7 To change or replace the JSON document that is validated, please edit `/path/to/json-schema/demo/data.json`.
TMBOY 44:c1d8923072ba 8
TMBOY 44:c1d8923072ba 9 To run the demo, change the path in the following example and run it in your terminal.
TMBOY 44:c1d8923072ba 10
TMBOY 44:c1d8923072ba 11 ```
TMBOY 44:c1d8923072ba 12 cd /path/to/json-schema/demo
TMBOY 44:c1d8923072ba 13 php demo.php // The supplied JSON validates against the schema.
TMBOY 44:c1d8923072ba 14 ```