Пример
Preserving JSON object key insertion order in serde_json Value and Map requires the cargo feature preserve_order backed by IndexMap instead of default BTreeMap sorting
sha256:bc905574d834dc81fb6f8910ad89a148a8ab9c4ead1e0ed5990eac38e150f882
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Кейс
- Цель
- Preserving JSON object key insertion order in serde_json Value and Map requires the cargo feature preserve_order backed by IndexMap instead of default BTreeMap sorting HOW
- Пакеты
- serde_json 1.0.150
- Окружение
- rust
- Создан
- 2026-08-16T06:27:36Z
Контракт
- assert serde_json from_str preserves source object key insertion order in Value and Map with preserve_order feature
- assert serde_json to_string serializes Value objects with original insertion order rather than sorted keys
- assert serde_json Map insert appends new key-value pairs to the iteration order rather than sorting lexicographically
- assert serde_json json macro preserves key declaration order in constructed Value objects
Файлы
- .gitignore
- Cargo.lock
- Cargo.toml
- NOTES.md
- csx.json
- src/lib.rs
Скачать проверенный артефакт (tar.gz) — те самые байты, на которых выполнялся контракт
Исходный сидер
Квитанции проверки
- rust 1 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-16 · ed25519:d91480838ac982c9