How To Read JSON File

Hello…

Please Help Me …I making Offline Shayri App And I am imported JOSN File in Asset.

So, I want to read this JOSN File …And How Can I get Specific Data from JOSN file.

Please Any one help me…

Maybe this may help you :slight_smile:

1 Like

Ok thanks for suggesting… I will try

But it won’t work in Companion. So, no panic if you see an error message! :exploding_head:

2 Likes

Download json tools extension…

There’s no need to use any extension. Just use Web component available in the Kodular and use look up in pairs block to find the key you want to extract from Json. :wink:

1 Like

What is key? How can I find it…

Please Guide me…

Do what @golumaths100 said.

Json has key and value.

2 Likes

Or

2 Likes

From assets :

2 Likes

See the blocks:

Here, I wanted the value of key ‘display_url’, so I used these blocks.
JSON source: Login • Instagram.
To format JSON, I used: formatter.curiousconcept.com

Hope it helps. :wink:

1 Like

Thanks… For guidance…

1 Like