Re: Add jsonb_compact(...) for whitespace-free jsonb to text
В списке pgsql-hackers по дате отправления:
| От | Andrew Dunstan |
|---|---|
| Тема | Re: Add jsonb_compact(...) for whitespace-free jsonb to text |
| Дата | |
| Msg-id | 57255A38.3070906@dunslane.net обсуждение исходный текст |
| Ответ на | Re: Add jsonb_compact(...) for whitespace-free jsonb to text (Merlin Moncure <mmoncure@gmail.com>) |
| Ответы |
Re: Add jsonb_compact(...) for whitespace-free jsonb to text
|
| Список | pgsql-hackers |
On 04/29/2016 06:11 PM, Merlin Moncure wrote: > This is a simple matter of removing spaces in the occasional C string > literal in the serialization routines and adding a json_pretty > function. I spent a few hours on this. See <https://bitbucket.org/adunstan/pgdevel/commits/branch/jsonformat> for WIP - there are three commits. No regression tests yet for the two new functions (json_squash and json_pretty), Otherwise fairly complete. Removing whitespace generation was pretty simple for both json and jsonb. cheers andrew
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера