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.3+0a73c45f0c78941900e328c6c6b819597b665e00
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