| MediaWikiHelperParseJsonAsync Method |
This is preliminary documentation and is subject to change.
Asynchronously parses JSON content from the specified stream.
Namespace: WikiClientLibrary.InfrastructuresAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public static Task<JsonNode> ParseJsonAsync(
Stream stream,
CancellationToken cancellationToken
)
Public Shared Function ParseJsonAsync (
stream As Stream,
cancellationToken As CancellationToken
) As Task(Of JsonNode)
Dim stream As Stream
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of JsonNode)
returnValue = MediaWikiHelper.ParseJsonAsync(stream,
cancellationToken)
public:
static Task<JsonNode^>^ ParseJsonAsync(
Stream^ stream,
CancellationToken cancellationToken
)
static member ParseJsonAsync :
stream : Stream *
cancellationToken : CancellationToken -> Task<JsonNode>
Parameters
- stream Stream
- The stream containing the non-empty JSON content.
- cancellationToken CancellationToken
- A token used to cancel the operation.
Return Value
TaskJsonNodeExceptions See Also