3 ms·
XML can have a defined schema to validate data against. Does JSON have anything similarly defined as part of the language? It seems like an afterthought. Doe
by supahfly_remix 11y ago
XML can have a defined schema to validate data against. Does JSON have anything similarly defined as part of the language? It seems like an afterthought. Does anyone use it in practice?
- arethuza 11y agoJSON Schema seems to work pretty well - I've used it in Python applications: http://json-schema.org/ http://json-schema.org/ I don't think there are any fancy graphical editors as there are for XSDs - but that's probably not a bad thing as I suspect if things are getting so complex that a graphical editor makes sense then you've probably allowed things to get too complex anyway.
- MrBuddyCasino 11y agoI always felt XMLs killer feature is its editor support: auto-completion through XSDs and instant validation. Unless I get that in other formats, I frankly don't care a lot.