Tutorials on working with dynamic data (parsing JSON)?

Hi Jeremy (@jerander)

There are probably a few examples here on getting JSON data but unfortunately no particular “tutorial” on how to do it per se.

Here is a quick document to show you a way to do it in Hype using Javascript functions to get the data and then populate some “elements” (rectangles) with the parsed JSON data.

On document load (scene load) the recursive function calls itself and then does this again every 30 seconds with the data you want. I have also included a conditional to check if mins is available and if it isn’t it prints out a phrase instead.

If you want any more specifics and more tutoring :slight_smile: send me a private message and I’ll see what I can do :wink:

jsonData-v1.zip (17.2 KB)

3 Likes