deserialized 是动词 deserialize 的过去式和过去分词形式,意为"反序列化"。指将某种格式(如 JSON、XML、二进制流等)的数据转换回程序可以使用的对象或数据结构的过程。它是 serialize(序列化)的逆操作。
/ˌdiːˈsɪəriəlaɪzd/
The JSON string was deserialized into a Python dictionary.
这个 JSON 字符串被反序列化为一个 Python 字典。
After the data was deserialized from the binary format, the application reconstructed the original object graph and resumed processing from where it had left off.
数据从二进制格式反序列化之后,应用程序重建了原始的对象图,并从中断处继续处理。
该词由前缀 de-(表示"逆向、撤销")加上 serialize 构成。serialize 源自拉丁语 series,意为"一系列、连续",在计算机科学中指将数据结构转换为可存储或传输的线性格式。加上 de- 前缀后,表示将这一过程逆转,即把线性格式的数据还原为原始结构。该词最早在20世纪90年代随着面向对象编程和网络通信的普及而广泛使用。
pickle 和 json 模块进行数据反序列化的实用方法。