JSON Query wildcard

Hi!

I’ve started using LINQ instead when handling JSON.
I find it easier to remember the syntax.
Querying JSON with LINQ

“Navigate” to your jsonArray and try something like this:

yourJsonArray _
            .Where(Function(e) e("identifier").HasValues AndAlso e("identifier").ToString= "ElementUpload") _
            .SelectMany(Function(e) e("values").Children()) _
            .Count()

I’d even go so far as deserializing it into an object of a record type. And then using linq on it :slight_smile:

However SelectTokens and your expression should have worked :confused: