from django.test import TestCase
#
# # Create your tests here.
# import json
# #序列化
# a = {'a':3,'b':'hello'}
# res = json.dumps(a)
# print(res)
# print(type(res))
# print(json.loads(res))
class Dog:
    def __init__(self,name):
        self.name = name

dog = Dog('dd')
print(dog.__dict__)
