Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsJSONContentType ¶
IsJSONContentType reports whether contentType is application/json or a +json type.
func JSONBodyIfLikely ¶
JSONBodyIfLikely escapes JSON bodies when the content type or body shape indicates JSON.
func LooksLikeJSON ¶
LooksLikeJSON reports whether body starts with an object or array JSON marker.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.