> JSON doesn't support a sequence of objects. This would need to become an
> array.
> Same for XML, where we would need introduce an artificial root element.
The problem with that is that the local code has no way to know whether it's the last time it will ever be called to emit either a closing XML element or a ']' for JSON. Any ideas?
> JSON doesn't support a sequence of objects. This would need to become an
> array.
> Same for XML, where we would need introduce an artificial root element.
The problem with that is that the local code has no way to know whether it's the last time it will ever be called to emit either a closing XML element or a ']' for JSON. Any ideas?