codesamplex

Sample

Deserializing JSON strings into borrowed &'a str fails at runtime on any escape sequence, requiring Cow<'a, str> with #[serde(borrow)] to achieve zero-copy deserialization that safely falls back to allocation for escaped characters

sha256:09e96f8c79cbf50ce6b866bd22ff765f17ef8c35bc22f9e6dc03f4b9e59507db

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Deserializing JSON strings into borrowed &'a str fails at runtime on any escape sequence, requiring Cow<'a, str> with #[serde(borrow)] to achieve zero-copy deserialization that safely falls back to allocation for escaped characters HOW
Packages
serde 1.0.229 serde_json 1.0.151
Environment
rust
Created
2026-08-16T06:28:08Z

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts