Function serializeToJsonLine

Serialize the json value and write as one line to stream.

void serializeToJsonLine(T) (
  OutputStream stream,
  T value
);