@dora_paz is right. If you want, feel free to send sample blocks of code and let me and others to have a look.
I made a dictionary in which there’s a key, and the value is a list with one item (I’ll be adding more later), when use the block get Value For Key In Dictionary
it gives me the error.
Show your blocks
Hi Every one How To Get All Facts If I Have This Type Of JSON
[
{
"Name": "Losi"
},
{
"Name": "Peter"
},
{
"Name": "John"
}
]
Set label text to
Get value for the key path (make a list (1. Walk at all level)(2.Name))
Dictionary (get global list name)
It’s an array, so try this way , note that if this is a part of a bigger json this might not work. You have to study the structure of your json
what will we do if we want name and age both
Use the same block and replace the text name to age into another variable
List by walking key path (make a list[ results, Order id]
dictionary get web1 JSON Text Decode json text (above json code)
(make a list[ results, Order id]
What do you mean results
Like this ?
I got This error
Expected a number for an index, but got “Order id” instead.
Note: You will not see another error reported for 5 seconds.
Then try like this, between results and Order id put the number 1 and try.
ok I will try
Thanks This is work for me
Some hint to solve my problem ? Thanks for help
How do I get what is underlined?
thanks to anyone who helps me