Re: json accessors

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: json accessors
Дата
Msg-id 419488CD-1780-4CFC-8D93-1D3302960020@justatheory.com
обсуждение исходный текст
Ответ на Re: json accessors  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: json accessors
Список pgsql-hackers
On Dec 4, 2012, at 10:05 AM, Josh Berkus <josh@agliodbs.com> wrote:

>>    json_get(json, variadic text) => json
>
> Given that I already do the equivalent in Python, this would suit me
> well.  Not sure about other users ...

Well, given that sometimes you will have mixed arrays and objects, how would you distinguish "42" as an object key or
anarray index? 

Best,

David




В списке pgsql-hackers по дате отправления:

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: Re: WIP json generation enhancements
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Dumping an Extension's Script