Almost everything can be stored
I also have a guide about this:
Nice a detailed Guide Good.
I don’t think this is a thing
Hello
I appreciate this complete and easy-to-understand commentary. I also wrote a specific explanation of how to use the Dictionary feature of MIT App Inventor. Especially for “list by walking key path” and “walk all at level”. I would be happy if the following blog posts were any useful:
Wow, thank you for the detailed explanation! I am sure people will learn from it
OMG so good very helpful especailly for me …
Thank you so much
Are these like objects in Javascript?
Yes, I think.
JSON = JavaScript Object Notation
Great guide. Super helpful
{
"names": [
{
"name1": "Peter",
"age": 30
},
{
"name": "John",
"age": 27
},
{
"name": "Luke",
"age": 34
}
]
}
{
"names": [
{
"name2": "Peter",
"age": 30
},
{
"name": "John",
"age": 27
},
{
"name": "Luke",
"age": 34
}
]
}
I want to parse name 1 & name 2 value
Here we have two different JSON object. You have to separate them, or make them in a list.
How can i do that
Separate them so it looks like these two JSON texts:
{
"names": [
{
"name1": "Peter",
"age": 30
},
{
"name": "John",
"age": 27
},
{
"name": "Luke",
"age": 34
}
]
}
and this
{
"names": [
{
"name2": "Peter",
"age": 30
},
{
"name": "John",
"age": 27
},
{
"name": "Luke",
"age": 34
}
]
}
Then,
do this with both JSON, change the name1 to name2 when working with the second object.
how can we use the if-else block to create a dictionary
I have no idea of what you’re talking about May you elaborate with some examples.
I just wanted to know, is it necessary to have keys without space? I added space within a key and now it’s giving me an error - “Invalid List of Pairs”.
@dora_paz is right. If you want, feel free to send sample blocks of code and let me and others to have a look.