3 ms·
> 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-jso
by senozhatsky 8y ago
> 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 https://github.com/stleary/JSON-java
-ss
- bouke 8y agoI think parent was talking about the document definition (schema) instead. So not to rely on the document instance for the translation definition.
- senozhatsky 8y agoAh, 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