結果 : how to serialize object in python