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?
I need formattedPrice
value.
can you gave me response as text and i will do it for you
(Using MIT App inventor) – LONG WAY
FetchJSON.aia (2.9 KB)
(Using MIT App inventor) – SHORT WAY
FetchJSON(1).aia (3.2 KB)
Hi @Zagal i detected you can remove ["ProductDetails{jsonString='
and it will work fine you don’t need to remove ]
It is already exist in Web
component
In MIT App Inventor not in Kodular and I believe here is Kodular’s community
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.
The problem is that the text edited from the response doesn’t change; this doesn’t work:
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 and same to @mahmoud_hooda !
I told you i made it using mit app inventor
You can remove Web
component and use this extension
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:
I will as soon as I can and tell you how it goes.
Thanks a lot.
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!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.