Documentation
¶
Overview ¶
Package jsonstrict provides JSON unmarshaling that detects unknown fields.
Standard encoding/json silently ignores unknown JSON keys. For security-critical payloads like TEE attestation responses, silent drops mean API format changes go unnoticed. Unmarshal returns the names of unknown fields alongside the decoded value, letting callers decide how to handle format drift.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.