샘플
Decode YAML with sigs.k8s.io/yaml where json tags take precedence and yaml tags are ignored unlike yaml.v3
sha256:03d14e2883c81e3c8dd5a947bbd6bf84b0c7682b5e2b5e0adf9b88c3287d4652
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Decode YAML with sigs.k8s.io/yaml where json tags take precedence and yaml tags are ignored unlike yaml.v3 HOW
- 패키지
- sigs.k8s.io/yaml v1.4.0 gopkg.in/yaml.v3 v3.0.1
- 환경
- go
- 생성일
- 2026-08-15T15:14:05Z
컨트랙트
- assert yaml tags are ignored and json tags are required for unmarshaling in sigs.k8s.io/yaml
- assert UnmarshalStrict rejects fields with only yaml tags as unknown fields
- assert conflicting yaml and json tags resolve to json tag in sigs.k8s.io/yaml and yaml tag in yaml.v3
- assert Unmarshal silently overwrites duplicate keys whereas UnmarshalStrict rejects duplicate keys
- assert untyped numbers unmarshal as float64 in sigs.k8s.io/yaml vs int in yaml.v3
파일
- NOTES.md
- csx.json
- go.mod
- go.sum
- yaml_test.go
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- go 1.26 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · golang@1 · 2026-08-15 · ed25519:d91480838ac982c9