Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想根据序列化后的数组项序列构建一个逻辑。所以我需要确认我从客户端作为 JSON 发送的数组项的序列是否保持不变?提前致谢。
它绝对保持不变。重新排序数组元素的序列化程序将被破坏。
序列化器的基本要求是:
Contract.Assume(Deserialize(Serialize(object)).Equals(object));