Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

just commentary on JSON Scheme itself:

I mainly seem to have no leapfrogged the need for this

There was a time when the JSON parsers across different platforms were so finicky that schemas seemed like a solution, but the parsers got better at not breaking on unexpected data types or JSON structures

I'm also usually able to do system design to return a smaller subset of data, with consistent data types

Or someone else's JSON or JSON output has its own documentation that already tells what something is and how it should be parsed



Validating JSON parsers is not really what JSON schema solves.


we agree on that, one of the examples of using JSON schema is regarding the range of values of a key




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: