I am looking for more info regarding this issue I have. So far I have checked the JSON encoding/decoding but it was not precisely what I was looking for.
I am looking for some way to strip this kind of list quite easily:
//response
{
  "age":[
    {"#":"1","age":10},
    {"#":"2","age":12},
    {"#":"3","age":16},
    {"#":"4","age":3}
  ],
  "age2":[
    {"#":"1","age":10},
    {"#":"2","age":12},
    {"#":"3","age":16},
    {"#":"4","age":3}
  ],
  "days_month":31,
  "year":2017
}
So how do I easily extract the data? i.e. I want to get the result age of person in age2 with # == 3.
To get the results for year/days_months I found the solution with google:
j=json.loads(r.content)
print(j['year'])
to retrieve the data. Probably I have missed something somewhere on the internet, but I could not find the specific solution for this case.
 
     
    