📅  最后修改于: 2022-03-11 14:46:46.846000             🧑  作者: Mango
'''
USE len() TO COUNT THE ITEMS IN A JSON OBJECT
Call len(obj) to return the number of items in a JSON object obj.
'''
print(a_json_object)
'''OUTPUT: '''
'''{'first_key': [1, 2, 3], 'second_key': 'second_value'} '''
length = len(a_json_object)
print(length)
'''OUTPUT: '''
'''2 '''