How do I use json?

Welcome,

You can convert JSON to dictionary blocks in App Inventor.

Take this JSON as an example:

{
  "name": "Tim Beaver",
  "likes": ["dams", "engineering"],
  "hasTowel": true,
  "widgets": 42
}

This JSON is equivalent to the following dictionary blocks.

To turn a JSON to a dictionary, use this block from the Web component.

image

For example:

Also, you can read our FAQ section.

Next time, please remember to search the community first.

1 Like