Asynchronously reads the contents of a stream.
For more details, see json.parser.Parser.loadFromStream, which is the synchronous version of this call.
When the operation is finished, callback will be called. You should then call json.parser.Parser.loadFromStreamFinish to get the result of the operation.
the input stream with the JSON data
a #GCancellable
the function to call when the request is satisfied
Asynchronously reads the contents of a stream.
For more details, see json.parser.Parser.loadFromStream, which is the synchronous version of this call.
When the operation is finished, callback will be called. You should then call json.parser.Parser.loadFromStreamFinish to get the result of the operation.