Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information