Dictionaries and JSON

Could someone make a tutorial about these dictionaries (and the json stuff) for Beginners?
:grimacing: It’s quite difficult to understand when all informations are in the middle and youre missing the base.


Maybe this will help Horst.

The reference documentation is available from the blocks section of the library:


You can also reach that page by right clicking on any dictionary block and selecting “Help”, which will jump you to the specific block.

There is also additional examples on the new page “Using Web APIs with JSON” , which is linked from the “Other” reference documentation page.


1 Like

Here's the Dictionaries FAQ:


If after reviewing the linked materials you’re still having trouble, please let us know so we can discuss how we might improve the documentation.


I have used new Dictionaries block to decode JSON file obtained from the OpenWeather.
It is very concise and wonderful. I wrote a brief report below:


Sorry, I come back to the question just after a year of much trouble. But I'm still living :smiley:

I didn't found a solution how to work with dictionarys. I just was blocked with creation a dictionary. there seems stuff missing I have to know before, But what?
Admins of the reference site. Please link on these pages what informations should be studied before and a link to an exemple or an tutorial may help.
I looked also in the tutorials to find a tutorial for this case. But it seems there is no. (searching for it seems also not possible.)

i just make it with a list. That's worked too.

1 Like

I'm sorry to hear that and hope all is well now. Welcome back.

If you could clarify what you think is missing from the Introduction on the page @SteveJG linked that would be helpful. The documentation does assume some basic familiarity with JSON although I tried my best to assume not much knowledge on the part of the reader. It has examples of how to construct dictionaries using the blocks. If you want to learn more about JSON at a conceptual level, you may want to take a look at the JSON introduction from json.org, which is somewhat platform agnostic.

1 Like

probably the following guides can help

A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook http://www.appinventor.org/book2 ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles
How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .

Also do the tutorials Our Tutorials! to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

And @Horst_Schulze, if you are still interested, and want to be a little challenged, take this free course-

Registration is free (use the Gmail you use for AI2). It is an AP level course for app making, and, even better, it is free. It explains everything you need to know for AI2 as well as the basics of other languages. Just to make sure you understand the information, I recommend taking the course in order.

I don't think that the Mobile CSP curriculum covers dictionaries in any detail, so it might not be the most appropriate resource.

1 Like