Fix marshaler typos (#927)

This commit is contained in:
Thomas Pelletier
2024-01-30 19:01:55 -05:00
committed by GitHub
parent e7223fb40e
commit caeb9f9631
+1 -1
View File
@@ -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 {