| CategoriesGeneratorItemFromJson 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 WikiPageCategoryInfo ItemFromJson(
JsonNode json,
JsonObject jpage
)
Protected Overrides Function ItemFromJson (
json As JsonNode,
jpage As JsonObject
) As WikiPageCategoryInfo
Dim json As JsonNode
Dim jpage As JsonObject
Dim returnValue As WikiPageCategoryInfo
returnValue = Me.ItemFromJson(json,
jpage)
protected:
virtual WikiPageCategoryInfo ItemFromJson(
JsonNode^ json,
JsonObject^ jpage
) override
abstract ItemFromJson :
json : JsonNode *
jpage : JsonObject -> WikiPageCategoryInfo
override ItemFromJson :
json : JsonNode *
jpage : JsonObject -> WikiPageCategoryInfo
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
WikiPageCategoryInfoThe item that will be returned in the sequence from
EnumItemsAsync(CancellationToken).
See Also