ansteh / shape-json

Module used to convert a flat json array into a nested json object with a predefined scheme
MIT License
31 stars 7 forks source link

recommendation error reporting system and json shema #3

Open he-yang opened 8 years ago

he-yang commented 8 years ago

it is recommended that you could build a better error reporting system, as currently, if error occurred, no error information would be provided.

secondly, it is strongly recommend that you prepare a json shema for your json sheme, so that users can use json shema validation libraries to validate a json scheme.

ansteh commented 8 years ago

Hi he-yang, thank you for your recommendations. I am working on it. Could you post a code snippet, how you would like to validate a json schema using json schema validation libraries.

he-yang commented 8 years ago

Hi ansteh,

Please check this repository https://github.com/bugventure/jsen . This is one of JSON-Schema validator I mentioned earlier.