| RevisionsGeneratorItemFromJson Method |
This is preliminary documentation and is subject to change.
Parses an item contained in the action=query&prop={PropertyName} JSON response.
Namespace: WikiClientLibrary.GeneratorsAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax protected override Revision ItemFromJson(
JsonNode json,
JsonObject jpage
)
Protected Overrides Function ItemFromJson (
json As JsonNode,
jpage As JsonObject
) As Revision
Dim json As JsonNode
Dim jpage As JsonObject
Dim returnValue As Revision
returnValue = Me.ItemFromJson(json,
jpage)
protected:
virtual Revision^ ItemFromJson(
JsonNode^ json,
JsonObject^ jpage
) override
abstract ItemFromJson :
json : JsonNode *
jpage : JsonObject -> Revision
override ItemFromJson :
json : JsonNode *
jpage : JsonObject -> Revision
Parameters
- json JsonNode
- One of the item node under the JSON path query.pages.{pageid}.{PropertyName}.
- jpage JsonObject
- The corresponding JSON node for the wiki page, under the JSON path query.pages.{pageid}.
Return Value
RevisionThe item that will be returned in the sequence from
EnumItemsAsync(CancellationToken).
See Also