https://discord.gg/botpress logo
#🤝help
Hey guys, when I call an API I get a JSON returned, now I'd like to know how to index it.
# 🤝help
b

bored-australia-39539

07/04/2023, 9:07 PM
The title says it all. I'm getting a JSON I need to grap different values from but don't know how to do that. I've tried the regular indexing but it does not work.
a

acceptable-kangaroo-64719

07/05/2023, 10:51 AM
Hey @bored-australia-39539, check out https://www.w3schools.com/js/js_json_objects.asp especially the part about accessing object values. You can do this in an execute code card