How to extract the ID of the first object from the response? I am getting the below response of the API.
{"data":[{"id":1,"description":"Test description 1", "Location": "test location 1"}, {"id":2,"description":"Test description 2", "Location": "test location 2"}, {"id":3,"description":"Test description 3", "Location": "test location 3"}]}
I want to extract the id= 1, from the above response. I have tried with {"id":(.+?),
regular expression. But I am getting randomly any of the id. What is the regular expression to get the first id from the response?