how to access stuff lnine in json code example
Example 1: how to read a json resposnse from a link in python
import urllib, json
url = "put url here"
response = urllib.request.urlopen(url)
data = json.loads(response.read())
print (data)
Example 2: how get data from json in c#
public class JSONResponse
{
public string status { get; set; }
public List<Article> articles { get; set; }
}
JSONResponse response = JsonConvert.DeserializeObject<JSONResponse>(myJSON);