Versions in this module Expand all Collapse all v2 v2.1.0 May 2, 2026 Changes in this version + func DecodeJSON[T any](r *http.Request, cfg JSONConfig) (T, error) + func DecodePath[T any](r *http.Request, cfg PathConfig) (T, error) + func DecodeQuery[T any](r *http.Request, cfg QueryConfig) (T, error) + func ValidationProblem(err error) httpx.Problem + func WriteValidationProblem(w http.ResponseWriter, err error) + type JSONConfig struct + AllowUnknownFields bool + MaxBytes int64 + RequireObject bool + type PathConfig struct + Param func(r *http.Request, name string) string + type QueryConfig struct