1
0
mirror of https://github.com/json-iterator/go.git synced 2025-04-20 11:28:49 +02:00
Nikhita Raghunath fb5614a4ca Don't marshal empty byte or uint8 slice as null
[]byte or []uint8 are encoded as base-64 encoded string. Per this, non-nil
empty slice should not get marshalled as null, rather as "".

This restores compatibility with the standard library.
2019-06-03 16:19:17 +05:30
..
2018-02-24 22:04:41 +08:00
2018-02-24 22:04:41 +08:00
2018-02-24 22:04:41 +08:00
2018-02-24 22:04:41 +08:00
2018-02-24 22:04:41 +08:00
2018-02-24 22:04:41 +08:00