How to parse JSON string in objective C?

Viewed 14311

I have the following json:

NSString *s = @"{"temperature": -260.65, "humidity": 54.05, "time": "2016-03-14T09:46:48Z", "egg": 1, "id": 6950, "no2": 0.0}";

I need to extract data from json to strings

  1. NSString temperature
  2. NSString humidity
  3. NSString no2

How to do it properly?

2 Answers
Related