getStrings

fun JsonObject.getStrings(name: String): List<JsonString>

A convenience method to get all JsonString within an attribute which is assumed to be a JsonArray.

Return

a list of JsonObjects, or an empty-list if the attribute is not found (or contains no JsonObjects).

Parameters

name

the attribute's name, whose value is assumed to be a JsonArray, where each item in the array is a JsonObject.