countElements

Recursively counts the number of occurrences of the specified JsonElement within this JsonElement.

Parameters

this

The JsonElement to search within.

value

The JsonElement to search for.