First, we encode the dataclass into a python dictionary rather than a JSON string, using .to_dict . Second, we leverage the built-in json.dumps to serialize our ...
確定! 回上一頁