https://bugzilla.wikimedia.org/show_bug.cgi?id=71284

Kunal Mehta (Legoktm) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #9 from Kunal Mehta (Legoktm) <[email protected]> ---
(In reply to Antoine "hashar" Musso from comment #8)
> What I really meant is that neither PHP json_decode() or python json decoder
> let us detects duplicate key. So one needs to find an implementation that
> warns/dies or write one to do so.

According to
<https://docs.python.org/2/library/json.html#repeated-names-within-an-object>
we can override that behavior.
<https://mail.python.org/pipermail/python-list/2013-May/647954.html> has an
example snippet on how to do so.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to