| 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.PrimitiveAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax protected virtual JsonArray? ItemsFromResponse(
JsonNode response
)
Protected Overridable Function ItemsFromResponse (
response As JsonNode
) As JsonArray
Dim response As JsonNode
Dim returnValue As JsonArray
returnValue = Me.ItemsFromResponse(response)
protected:
virtual JsonArray^ ItemsFromResponse(
JsonNode^ response
)
abstract ItemsFromResponse :
response : JsonNode -> JsonArray
override ItemsFromResponse :
response : JsonNode -> JsonArray
Parameters
- response JsonNode
- JSON root of MediaWiki API response. This is usually one page of the list.
Return Value
JsonArraya 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