How to only name

{“providers”:[{“provider_id”:“1”,“name”:“Airtel”},{“provider_id”:“2”,“name”:“Bsnl”},{“provider_id”:“3”,“name”:“Idea”},{“provider_id”:“4”,“name”:“Jio”},{“provider_id”:“5”,“name”:“Vodafone”}],“error”:“0”,“error_msg”:“Fetch Provider”}
this data kodular plz give me code

Welcome to the forum

Please show us your blocks and what you have done so far in order to get help from the community and don’t forget to read below post on how to ask a question

2 Likes

And also, we will help, not do the work.

And do what @dora_paz said, so we can understand what you want and what you have tried

1 Like

hii help me

Show us your blocks in order to help you

Look This Topic :

2 Likes

I believe the problem is that this is not a valid json format ( you can validate your json here - https://jsonformatter.curiousconcept.com/)

So what I did was to replace “ and ” with " in order to have a valid json and then used dictionary blocks and @Mohamed_Tamer 's extension that parses json to dictionary. Hope that helps

2 Likes

All data for key “name” is added in list to use it according to your needs

Also do you have 2 different accounts in the community @Shiba_Tech and @shibatechnology ? cause it is not allowed

I deleted your other account, you are only allowed one.

1 Like

Show all name for spinner after click value provider_id
Example : Airtel, Vodafone, etc.
Value= 1,2,3

Try this, adjust code according to your needs

How to index 1 Auto
Example 1 to json row data

All index data on spinner
Example Airtel, Vodafone,etc.

Why don’t you try it yourself ? I showed you the way to get data from “json” . Now you have to play with the code according to your needs. I also showed you how to add elements to spinner. If you wish elements to be Airtel, Vodafone,etc. just change the list and when Spinner1.After Selecting , get selection

1 Like


Example this type

Sorry I can not help you more, you should try it yourself

1 Like

The solution was showed by @dora_paz.
Now you should try yourself. :+1:

1 Like

Very Thanks

2 Likes

If my answer is your solution… Then marked it as solution. :slight_smile:

1 Like