unmarshaller:在计算机领域,指“反编组器/反序列化器”,即把已编码或序列化的数据(如 XML、JSON、二进制消息)解析并转换为程序中的对象/数据结构的组件或工具。(常见于 Java 的 JAXB、各类序列化框架与消息协议中。)
/ˌʌnˈmɑːrʃələr/
The unmarshaller converts the XML into a Java object.
反编组器把 XML 转换成一个 Java 对象。
After receiving the message, the service uses an unmarshaller to reconstruct a complex object graph while validating the input schema.
服务在收到消息后使用反编组器,在校验输入模式的同时重建复杂的对象关系结构。
un-(表示“反向、取消”)+ marshal(原义与“编整、安排、整理队伍/秩序”有关)。在计算机术语中,marshal(编组)指把对象“整理打包”成可传输/可存储的格式;因此 unmarshaller 就是把这些“打包好的数据”再“拆包还原”为对象的工具或模块。