Documentation
¶
Index ¶
Constants ¶
View Source
const ( MaxBytes = maxJSONBytes MaxDepth = maxJSONDepth MaxObjectMembers = maxJSONObjectMembers )
Implementation limits shared by the public facade and policy codec.
Variables ¶
View Source
var ( ErrMemberLimit = errJSONMemberLimit ErrDepthLimit = errJSONDepthLimit )
These aliases preserve errors.Is identity through the public facade.
Functions ¶
func DecodeValue ¶
DecodeValue retains json.Number values for semantic comparisons.
func SameExactValue ¶
SameExactValue compares JSON numbers by their exact rational values.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.