codesamplex

Sample

Handle Express JSON body parser strictness and response serialization boundaries across primitives, strings, Buffers, and cookies

sha256:67b90276f29cdea20393f311586cc202c244b1f200d7a06896f5d072b0b912c1

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Handle Express JSON body parser strictness and response serialization boundaries across primitives, strings, Buffers, and cookies HOW
Packages
express 5.2.1
Environment
node
Created
2026-08-16T16:35:35Z

Commonly assumed

express.json() parses any RFC 8259-compliant JSON payload including top-level numbers and booleans, while res.send() and res.json() serialize string and Buffer payloads symmetrically.

The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.

Contract

Files

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

Origin Seeder

csx-seed

Verification receipts