Get object not giving JSON

I am trying to get load in and save a JSON response to my app. The json response looks like {“date”:“3”,“name”:“cookies”,“time”:“30”} however when I run the app I just get undefined.

image

Try converting the Response into a JSON object using the “get object from JSON” block.

That works however I didn’t realize that [{“date”:“3”,“name”:“cookies”,“time”:“30”},{“date”:“3”,“name”:“brownies”,“time”:“60”}] would require a different method.

You still use get object from JSON, but the result is a list of objects. You can treat that list just like any other (For each Object in List…)

1 Like

Thank you for your help! This worked

1 Like