Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

to iterate across information on same nest

#No need for "for" loop. Just change the number by key to change to different nested object
for i in data:
	print(data['data'][0]['content'][0]['key'])
	print(data['data'][0]['content'][0]['value'])
  									#V Here below and above
	print(data['data'][0]['content'][1]['key'])
	print(data['data'][0]['content'][1]['value'])
 
PREVIOUS NEXT
Tagged: #iterate #information #nest
ADD COMMENT
Topic
Name
9+8 =