How can I pull info out of App42Response.

0 votes

Whed I do a userService.DeleteUser(). The response I get in the callback looks like JSON. e.g.

 {"app42":{"response":{"success":true,"users":{"user":{"userName":"TOTtester"}}}}}

Is there an easy way to pull out  the key/value for 'user' ?

 
asked Jun 25, 2014 in App42 Cloud API-BaaS by huffman (17 points)

1 Answer

0 votes
Hi,

Thanks for writing us.

You want to find the username that you already have because username in response and  passed parameter uername in delete user function is same.

If you want to find with the response than you need to pass the response string in json object.

Let me know in which SDK you are working so that i can tell you how you can retrieve it.

Thanks.
answered Jun 25, 2014 by hs00105 (517 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...