ISS Tracker
-
Is there a nice way of parsing json? Not happy with the code for a quick ISS tracker here
https://editor.netsblox.org/?action=present&Username=dangerblox&ProjectName=ISS Tracker
-
Cool project!
This block should do the trick! Basically, this block will convert the json object into a list of pairs where the first item is the key and the second item is the value. For example,
{"name": "brian", "age": 26}
will become[ [ "name", "brian" ], [ "age", 26 ] ]
where the lists are lists in NetsBlox, of course. NetsBlox provides some libraries for working with structured data like this (under "Libraries" in the file menu).
I played with a copy of your published project and ended up with something like:
Is that what you are looking for?