Let's say I have 1..N values for a key. The JSON has X entries, and for N entries the keys will match.
I want to create a gjson.Result in the form I get as result when querying a path that returns multiple hits like mydata.#(value == 1)#. Is there something like mydata.#(value == <list of values>)#?
When manually iterating through my N keys, I can create a '[]Resultif course, but this is something different than having oneResult` containing all the matches.
Let's say I have 1..N values for a key. The JSON has X entries, and for N entries the keys will match.
I want to create a
gjson.Result
in the form I get as result when querying a path that returns multiple hits likemydata.#(value == 1)#
. Is there something likemydata.#(value == <list of values>)#
?When manually iterating through my N keys, I can create a '[]Result
if course, but this is something different than having one
Result` containing all the matches.