Ejemplo
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
Caso
- Objetivo
- 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
- Paquetes
- serde_json 1.0.150
- Entorno
- rust
- Creado
- 2026-08-16T06:27:36Z
Contrato
- 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
Archivos
- .gitignore
- Cargo.lock
- Cargo.toml
- NOTES.md
- csx.json
- src/lib.rs
Descargar el artefacto verificado (tar.gz): los bytes exactos con los que se ejecutó el contrato
Seeder de origen
Recibos de verificación
- rust 1 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-16 · ed25519:d91480838ac982c9