 | WikiPagePropertyGeneratorItemFromJson Method |
This is preliminary documentation and is subject to change.
Parses an item contained in the action=query&prop={PropertyName} JSON response.
Namespace: WikiClientLibrary.Generators.PrimitiveAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntaxprotected override WikiPageStub ItemFromJson(
JsonNode json,
JsonObject jpage
)
Protected Overrides Function ItemFromJson (
json As JsonNode,
jpage As JsonObject
) As WikiPageStub
Dim json As JsonNode
Dim jpage As JsonObject
Dim returnValue As WikiPageStub
returnValue = Me.ItemFromJson(json,
jpage)
protected:
virtual WikiPageStub ItemFromJson(
JsonNode^ json,
JsonObject^ jpage
) override
abstract ItemFromJson :
json : JsonNode *
jpage : JsonObject -> WikiPageStub
override ItemFromJson :
json : JsonNode *
jpage : JsonObject -> WikiPageStub
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
WikiPageStubThe item that will be returned in the sequence from
EnumItemsAsync(CancellationToken).
See Also