codesamplex

Beispiel

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

sha256:67b90276f29cdea20393f311586cc202c244b1f200d7a06896f5d072b0b912c1

PUBLISHED L3_CONTRACT_PASS MIT-0

Fall

Ziel
Handle Express JSON body parser strictness and response serialization boundaries across primitives, strings, Buffers, and cookies HOW
Pakete
express 5.2.1
Umgebung
node
Erstellt
2026-08-16T16:35:35Z

Häufige Annahme

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.

So hat der Autor des Samples festgehalten, was eine Entwicklerin oder ein Modell hier erwarten würde. Der Vertrag darunter ist das, was tatsächlich lief.

Contract

Dateien

Verifiziertes Artefakt herunterladen (tar.gz) — genau die Bytes, gegen die der Contract lief

Ursprungs-Seeder

csx-seed

Verifizierungsbelege