json results parsing

Поиск
Список
Период
Сортировка
От Charles Cui
Тема json results parsing
Дата
Msg-id CA+SXE9vmOYcFiXG3cVZMF=4+TE-TwnXY0CW4Q2p8QD1G8Q-XyQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: json results parsing
Re: json results parsing
Список pgsql-hackers
Hi mentors and hackers,

For some APIs, it returns set of results, for example, json_each(json) and json_object_keys(). 
Basically, I want to call these json API inside a plugin, and the return value for these APIs are Datum. I am wondering how to parse a set of json results from Datum in postgresql? Seems the helper functions I am aware of are only for simple types. Are there any examples to demonstrate the best practice of how to do that?





Thanks, Charles!

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: I'd like to discuss scaleout at PGCon
Следующее
От: Euler Taveira
Дата:
Сообщение: Re: ALTER CONSTRAINT change action