Re: JSON headers

On 2016-07-11 09:10, Jim Manico wrote:
> < How does JSON-Schema affect what a RFC7159-compliant JSON parser does?
> (Remember the problem is on the producing side)
>
> We're talking higher level standards that consume JSON in some way, right? So the producer would run the final JSON through a standard JSON-Schema before shipping off the JSON to ensure compliance (ensuring the producer work is accurate), and the consumer would use the same Schema to validate before parsing (so we can catch bad JSON way before a fragile parser gets involved).
>
> This is nothing special, many frameworks that do JSON-Object mapping do this already...

Just like senders validate what they send today :-)

Best regards, Julian

Received on Monday, 11 July 2016 07:26:49 UTC