to_stream


Description:

[ Version ( since = "0.12" ) ]
public bool to_stream (OutputStream stream, Cancellable? cancellable = null) throws Error

Outputs JSON data and writes it (synchronously) to the given stream.

Parameters:

this

a generator

stream

the output stream used to write the JSON data

cancellable

a `GCancellable`

Returns:

whether the write operation was successful




2022 vala-language.org