3 ms·
> would be nice to have a tool that could translate xml schema to json schema and back. I once worked with a customer that bolted a JSON frontend onto an exist
by bouke 8y ago
> would be nice to have a tool that could translate xml schema to json schema and back.
I once worked with a customer that bolted a JSON frontend onto an existing XML backend. However the translation definition was not predefined but determined at runtime. Some XML node could have 1+ children but because of this translation the result would either be an object (1), or an array of objects (2+). Needless to say the implementation in the consumer became rather messy, having to deal with this dynamic structure.