code: public <T> void write(final OutputStream stream, final T object,
  			final DataTypeDescriptor<T> descriptor, final boolean indent) {
  		try {
  			jsonFormat.write(stream, object, descriptor, indent);
  		} catch (Exception e) {
  			throw propagate(e);
  		}
  	}
docs: Writes an object to an output stream as a JSON string, does not close the stream.