Is there a simple way to recover field from a json rest web service answer. For example, this is an answer for a json post:
{
"name": "sam",
"city": "SF",
"number": "0017100000000" (optional),
"message": "xyz has occurred"
}
I would like to retrieve name and city for this example, etc. Should I use a regex?
I am a little new to all of this so don't hesitate to tell me if my question is dumb on the condition of helping me though :)