Outputs JSON data and writes it (synchronously) to the given stream.
the output stream used to write the JSON data
a gio.cancellable.Cancellable
whether the write operation was successful
Outputs JSON data and writes it (synchronously) to the given stream.