You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pack: on JSON formatting, remove duplicated keys (#1835#1051)
Our internal serialization format allows to have several keys with
the same name in a map. When converting to JSON the case is quite
dangerous, despite the JSON spec is not mandatory about having
unique keys at the same level in a map, we got tons of reports that
backend services that receives JSON payload raises exception due
to duplicated keys.
On this patch now the JSON formatter will check for duplicated
keys, if found, it preserves the latest one found.
Signed-off-by: Eduardo Silva <eduardo@treasure-data.com>
0 commit comments