[Firebase + JSONTools] How to get a value from response?

Hi:

I’m using JSONTools to try to get a value from a Web response!

Example of the response:

{
“kind”: “identitytoolkit#GetAccountInfoResponse”,
“users”: [
{
“localId”: “ZY1rJK0…”,
“email”: "[email protected]",
“emailVerified”: false,
“displayName”: “John Doe”,
“providerUserInfo”: [
{
“providerId”: “password”,
“displayName”: “John Doe”,
“photoUrl”: “http://localhost:8080/img1234567890/photo.png”,
“federatedId”: "[email protected]",
“email”: "[email protected]",
“rawId”: "[email protected]",
“screenName”: "[email protected]"
}
],
“photoUrl”: “https://lh5.googleusercontent.com/.../photo.jpg”,
“passwordHash”: “…”,
“passwordUpdatedAt”: 1.484124177E12,
“validSince”: “1484124177”,
“disabled”: false,
“lastLoginAt”: “1484628946000”,
“createdAt”: “1484124142000”,
“customAuth”: false
}
]
}

I’m trying to get the emailVerified value from the response!

I used this:
d6f0e81b8a2b42d44f86507180ac32e7

Didn’t work!

Any help would be appreciated!

Thank you!

Can you use 2 web1 in the block

Check your block when web1 got text it's show error

The block image I posted is only an example! There’s no error in the main web1 block!

parse the json response before calling the getStringValue block

1 Like

@techcvr, thank you!

It worked great:
b33c0f2d7f9aa238842de8138bb91bff

There is any function that I could use to simplified to get a value from a JSON response?
Something like this:
403185dd5041d091dc059c4b22c3bc59

read this post… maybe this will help -

1 Like

@techcvr, thank you for share!

I was wondering if there is a simply way using JSONTools!

if you want easy way then maybe you have to search on google…

the above json method i used in the above link is to create a app like this - Atomic Dictionary | Material Design Dictionary App Without Database

1 Like

Where can I get JSONTools?