I’m attempting to use the JSONPATH transform to pull some info that I receive back from a server. I have no control over the server so I am forced to parse what I get. I’m at a loss on how to create the expression, hoping someone who is more familiar with this can help me.
The returned string looks like: {“num_locations”:1,“locations”:{“1234”:{“street1”:“abcd”,“street2”:“efgh”,“city”:“ijkl”,“state”:“mnop”,“postal_code”:“56789”}}}
What I need to extract is the “1234”. I’ve tried many different variants of the expression and I can’t find one that works. Any help is appreciated!