Fix marshaler typos (#927)
This commit is contained in:
+1
-1
@@ -92,7 +92,7 @@ func (enc *Encoder) SetIndentTables(indent bool) *Encoder {
|
|||||||
// SetMarshalJsonNumbers forces the encoder to serialize `json.Number` as a
|
// SetMarshalJsonNumbers forces the encoder to serialize `json.Number` as a
|
||||||
// float or integer instead of relying on TextMarshaler to emit a string.
|
// float or integer instead of relying on TextMarshaler to emit a string.
|
||||||
//
|
//
|
||||||
// *Unstable:* This method does not follow the compatiblity guarnatees of
|
// *Unstable:* This method does not follow the compatibility guarantees of
|
||||||
// semver. It can be changed or removed without a new major version being
|
// semver. It can be changed or removed without a new major version being
|
||||||
// issued.
|
// issued.
|
||||||
func (enc *Encoder) SetMarshalJsonNumbers(indent bool) *Encoder {
|
func (enc *Encoder) SetMarshalJsonNumbers(indent bool) *Encoder {
|
||||||
|
|||||||
Reference in New Issue
Block a user