Problem with data response

This is the whole response:

Which [ have I to delete, please?

which data that is you need to get it? or you need all of them?

1 Like

I need formattedPrice value.

can you gave me response as text and i will do it for you

1 Like

This is the response as a text:
[ProductDetails{jsonString.txt (1.5 KB)

1 Like

(Using MIT App inventor) – LONG WAY
FetchJSON.aia (2.9 KB)

(Using MIT App inventor) – SHORT WAY
FetchJSON(1).aia (3.2 KB)

Using JsonToDictionary extension by @Mohamed_Tamer

1 Like

Hi @Zagal i detected you can remove ["ProductDetails{jsonString=' and it will work fine you don’t need to remove ]

1 Like

It is already exist in Web component

In MIT App Inventor not in Kodular and I believe here is Kodular’s community :slight_smile:

1 Like

I have this problem:
imagen
I used the Kodular web version but I have this problem:

Thanks, I’ll try this also.
In my experience, the response text can’t be changed. When I use the text block, the changes works, but when I used directly the response block, the text remains the same even using a label block and replacing the text to this label block text.

What happens if you do it like this …? Does it change ?

1 Like

The problem is that the text edited from the response doesn’t change; this doesn’t work:


I tested a lot of variations on this, none worked.
This does:

I will try, I hope it does. But I will do it tomorrow, I’ve been several hours triying this to work and my mind is pretty tired!
Thanks anyway for your interest and help :pray: and same to @mahmoud_hooda !

1 Like

I told you i made it using mit app inventor :point_down:

You can remove Web component and use this extension

1 Like

I saw it and changed with the web component of Kodular, but the got that problem.
Now did it again with Json to dictionary extension and got the same, in both of your projects:


Anyway, the main problem is what I said in post 18.
Thanks.

I will as soon as I can and tell you how it goes.
Thanks a lot.

1 Like

The response text starts with ProductDetails not ["ProductDetails and that stupid thing is what was creating the problem with the response text.
I guess I added the [" when I copied-pasted the response text.
Sorry and thnaks for your help!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.