Code review comment for lp:~paul-lucas/zorba/pjl-misc

Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

> 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?

« Back to merge proposal