How to parse this json

I tried your method but geeting error

Is not a well-formed list of pairs

That’s because there are no such things as keys in arrays. Use the for each item in list block or select a specific item from the list.

Sorry ,
This block above is from the answer I suggested above. These blocks are Peter’s.

https://community.kodular.io/t/kodular-has-removed-json-component/64699/22?u=rogerio_rios

Before the dictionary blocks existed, I used this:

https://community.kodular.io/t/populate-block-with-content-from-json/65167/4?u=rogerio_rios

I want to know this how does the list of pairs look like?

https://community.kodular.io/t/json-file-parsing-how-i-understood-it/33666

https://community.kodular.io/t/request-for-json-decode-to-dictionary/76208/2?u=rogerio_rios

2020-12-31T03:00:00Z

I know about JSON and i already developed app that fetch json from web. In that app i used json utility. After kodular removed that awesom tool now i was trying to learn dictionary but its so confusing.

How can i fetch json object which is inside array using dictionary?

All your suggestions are just fetch json objects

Why you are not create a specific topic for it?
When you mark a post as a solution you need to ask other questions in other topic.

1 Like

https://community.kodular.io/t/guide-dictionary-blocks/75935
By Key Path…

Walking Key path …

I answered the original question that was being asked, so my reply got chosen by @msr79526.

And no you don’t, as long as it is relative to the original question or topic. @gopi asked about JSON Arrays while the poster asked about how to parse JSONs.

How can i open json array by index.can you tell me

blocks (3)

give a link to the api, I will make you an aia file

for list use this block
blocks (4)

sorry i couldn’t get the image.

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