Documentation
¶
Overview ¶
Package jsonutil provides shared JSON numeric conversions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeNumbers ¶
NormalizeNumbers replaces json.Number values in a decoded JSON value with driver-compatible numbers. Integer tokens must fit int64; decimal and exponent tokens use float64. Maps and slices are updated in place and may be partially normalized on error. Callers must discard the decoded record on error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.