How do I parse a single record or an array of records in a json field using JsonPath
I have a json value that can contain a single record or an array, I need to extract the ID field of these records and gather them in an array. The resulting element should be an array with 1 or…