Click or drag to resize

WikiListTItemsFromResponse Method

This is preliminary documentation and is subject to change.

From the given MediaWiki API response of the MediaWiki list request, locates the array of items whose items will be processed by ItemFromJson(JsonNode).

Namespace: WikiClientLibrary.Generators.Primitive
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
protected virtual JsonArray? ItemsFromResponse(
	JsonNode response
)

Parameters

response  JsonNode
JSON root of MediaWiki API response. This is usually one page of the list.

Return Value

JsonArray
a JSON array, or null if response contains no item to yield.
Remarks
The default implementation expects there is an array under JSON path query.{listname} and returns it.
See Also