News for hackers. Stuff that matters.
Re:The rise and rise of JSON (2017) by senozhatsky on Friday August 24, 2018 @03:13AM (#17833316)
> would be nice to have a tool that could translate xml schema to json schema and back.

Hmm, after a quick search I found a bunch of json-to-xml and xml-to-json converters, including libraries. E.g. JSON-Java library [0]. May be same things exist for .Net. Is this what you meant?

[0] https://github.com/stleary/JSON-java

-ss

Re:The rise and rise of JSON (2017) by bouke on Friday August 24, 2018 @07:07AM (#17834163)
I think parent was talking about the document definition (schema) instead. So not to rely on the document instance for the translation definition.
Re:The rise and rise of JSON (2017) by senozhatsky on Friday August 24, 2018 @07:58AM (#17834342)
Ah, got it. Thanks. I wasn't entirely sure, admittely not a very experienced json user. Does term "schema" apply to json in the same way it applies to XML?

/* Well... so... One can convert JSON to XML and apply XML schema verification. That's partly a joke :) */

-ss