| От | Andrew Dunstan |
|---|---|
| Тема | Re: additional json functionality |
| Дата | |
| Msg-id | 528BB4E6.90904@dunslane.net обсуждение исходный текст |
| Ответ на | Re: additional json functionality (David Johnston <polobo@yahoo.com>) |
| Список | pgsql-hackers |
On 11/19/2013 01:43 PM, David Johnston wrote: > Andrew Dunstan wrote >> Given that, I'm not sure we shouldn't permit them in b) either. I think >> I lost that argument back in the 9.2 dev cycle. I really don't want to >> get to a situation where foo::json::jsonb can produce an error. > So what do you propose happens when the input json has duplicate keys? I propose that we do what V8 does, what hstore does (yes, I know it's not json, but consistency is good), what we do now with the json_get() functions, what almost every other JSON engine I know of does, namely that the last key wins. cheers andrew
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера