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


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:

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:

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

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?