| 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.8.0+bba8b7a48c3412988f4331f41f4164c670d73663
Syntax protected override Revision ItemFromJson(
JToken json,
JObject jpage
)
Protected Overrides Function ItemFromJson (
json As JToken,
jpage As JObject
) As Revision
Dim json As JToken
Dim jpage As JObject
Dim returnValue As Revision
returnValue = Me.ItemFromJson(json,
jpage)
protected:
virtual Revision^ ItemFromJson(
JToken^ json,
JObject^ jpage
) override
abstract ItemFromJson :
json : JToken *
jpage : JObject -> Revision
override ItemFromJson :
json : JToken *
jpage : JObject -> Revision
Parameters
- json JToken
- One of the item node under the JSON path query.pages.{pageid}.{PropertyName}.
- jpage JObject
- 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