TRUE if the data stream was successfully read and
parsed, and FALSE otherwise
bool loadFromStream(gio.input_stream.InputStream stream, gio.cancellable.Cancellable cancellable = null)Loads the contents of an input stream and parses them.
If cancellable is not NULL, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, [gio.types.IOErrorEnum.Cancelled] will be set on the given error.
stream | the input stream with the JSON data |
cancellable | a #GCancellable |
TRUE if the data stream was successfully read and
parsed, and FALSE otherwise