Skip to content

JSON Tests

Test File
Valid JSON fixtures decoder_test.go
Invalid integer JSON decoder_test.go
Malformed JSON / multiple documents decoder_test.go
JSON syntax line/column contract_error_http_test.go
Multiple contract errors + truncation contract_error_http_test.go
Boolean/null instead of string contract_error_http_test.go
Handler JSON success + test endpoint handler_http_test.go
Archive malformed JSON idempotency_archive_http_test.go

Paired fixtures live under internal/inbound/workorder/testdata/ (valid-single-project.json, invalid-stage-type.json, …).

JSON↔XML equivalence after normalize and idempotency semantic replay are cross-format tests, not JSON-only.