I'm trying to parse a response from an api and pulling my hair out.
Here's a simplified version of the response:
[{"id":123456,"account":6789}]
So I'm basically working with a string that looks like this:
'[{"id":123456,"account":6789}]'
I just need to check that "id" exists, because that means my POST worked fine. But I can't for the life of me figure out how to take that string and get something usable.
How can I get to the value of "id"?