Count members of an array in JSON request and return the result.
Text - Specifies JSON path expression pointing to the array node in JSON response.Integer Count of items in the selected array from JSON request
With an example JSON:
{
"arrayNode":[1,2]
}
use the function as following:
_Counter := APIScriptRWU.COUNT_REQUEST_MEMBERS_BY_JPATH('$.arrayNode'); //Returns 2
Function does not work with some advanced JSONPath expressions, for example, you are not able to count all
idnodes in the JSON with syntax$..id.