JSONTools Extension

This is a Beta version of my JSON Tools extension for App Inventor, this extension makes it easier to work with JSON and get the information you need out of a JSON String. Many online services have API's which output in JSON format and this extension will enable you to easily decipher the JSON format.

As mentioned this is a beta release as I have been busy lately, I still wanted to release this extension and make it available for people to play around with, however, as a beta release please note that the methods available in this extension are not finalised and may change in future releases.

× To learn more about JSON and the differences between a JSON Object and a JSON Array, check out my article: Understanding JSON and how it works.

Extension Usage


The first block to start using this extension is the ParseJSON block, this block takes in JSON as a String and internally converts it into an Object. (Images and more documentation coming soon)



This method sets the current position to the specified object, e.g. If you called OpenObject("Phone"), this would internally open the phone object so that you can retrieve the values inside. (Images and more documentation coming soon)


Please note this example is out of date and the methods in this extension have changed, use only as a guide, I endeavour to update this documentation in 2018 - Happy new year!!!

The following example takes some sample JSON found online which contains fictitious company contacts and locations, you can tap next and previous buttons to browse through the different contacts and the company coordinates are shown in a Google Maps component.

Screenshot of the blocks used in the JSONToolsExample project

Download Here

× Note: this is a BETA version of this extension, the methods in this extension may change in future releases. Be sure to keep regular backups of your apps.

Download the JSONTools [BETA] extension here: JSONTools.aix
Download the JSONTools Example project here: JSONToolsExample.aia



Version History

Version 1


Icons made by Madebyoliver from www.flaticon.com is licensed by CC 3.0 BY

Was this helpful?

Yes No

Thunkable Components