Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
encoding/json: clarify omitempty option for {array,slice,map,string}
This CL is inspired by: #29310 (comment) When I read omitempty option in encoding/xml package, I find it's a bit different than encoding/json package. I think it's more precise to say: "any array, slice, map, or string of length zero." Update #29310 Change-Id: I64aefea34327c503a9ab33fceca3e02a62cb673a
- Loading branch information