I have a bit of JSON that includes an array of objects. I want to select the JSON of the object with a particular ID. For example:
`
{
results: [
{ id: “”, … }
{ id: “”, … }
{ id: “”, … }
]
}
`
I imagine the answer is no, but it never hurts to ask… Is it possible to compose a jsonPath() query that will select the full object given the specific ID? For example,
`
jsonPath( “$.result[*]{where:id=”${RECORD_ID}}" )
`
Is there a syntax hidden somewhere in there that I have not found that would let me do something like that?