Documentation
¶
Overview ¶
Package jsonhttp provides shared HTTP helpers for AWS JSON-protocol services. It handles the application/x-amz-json-1.1 content type and error envelope that Lambda, SSM, Secrets Manager, and similar services use.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
Decode decodes the JSON request body into T. If T implements Contract, Validate() is called automatically. Returns (value, true) on success, writes an error response and returns (zero, false) on failure.
Types ¶
Click to show internal directories.
Click to hide internal directories.