News for hackers. Stuff that matters.
Re:PostgreSQL 9.4 Released by jackmaney on Thursday December 18, 2014 @07:01PM (#8770415)
Okay, I'll bite.

What, exactly, do you think should happen if you have an object of the form

    { task: "do stuff", task: "do other stuff" }
? Objects in JSON are key-value pairs. A single key goes to a single value. Instead, you should map task to an array of values.
Re:PostgreSQL 9.4 Released by mjevans on Friday December 19, 2014 @03:05AM (#8771450)
No, you should have written an array of values to begin with.

Coercing data types is surely more wrong than taking the most recently supplied value for a given key in a map.

Re:PostgreSQL 9.4 Released by mc808 on Friday December 19, 2014 @05:32AM (#8771711)
Um, I think you're agreeing. "Instead, you [i.e., not the deserializer] should map task to an array of values."