How to store JSON data in a variable?

When I get a json string from an API I usually parse it and store it as a map and use it from there. Take a look at the parseJson method in the docs.

Hopefully this is what you are looking for.

2 Likes