CodeSampleX

Beispiel

Distinguish JSON.parse! relaxed parsing from JSON.parse strict limits, load explicit json/add core additions for bidirectional serialization, and forward generator State through custom to_json methods

sha256:bc062acc906536678976cf1c339f352acd1b7ab93a8126083d2e995f58c8816b

PUBLISHED L3_CONTRACT_PASS MIT-0

Fall

Ziel
Distinguish JSON.parse! relaxed parsing from JSON.parse strict limits, load explicit json/add core additions for bidirectional serialization, and forward generator State through custom to_json methods HOW
Pakete
json 2.9.1
Umgebung
ruby
Erstellt
2026-08-17T02:43:07Z

Häufige Annahme

JSON.parse! is an exception-raising strict mode of JSON.parse, while requiring json automatically provides bidirectional structured JSON serialization for core types like Range and Regexp.

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