[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Wrap results in array, if given array



If we're given a JSON array, we should output a JSON array.

It might be nice to read in a sequence of objects (i.e.
'{...}\n{...}\n...'), in which case we should output a sequence of
objects too.

However, the point is that we shouldn't change the representation of our
input. Currently we're reading in an array and outputting a sequence.