Re: How to get value wrapped in json?

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: How to get value wrapped in json?
Дата
Msg-id CAKFQuwbgPWjZF36aowa3dSP7FiFwL_nqU6dSd6aUkf9FoHNv2Q@mail.gmail.com
обсуждение исходный текст
Ответ на How to get value wrapped in json?  (Shaozhong SHI <shishaozhong@gmail.com>)
Список pgsql-general
On Friday, May 6, 2022, Shaozhong SHI <shishaozhong@gmail.com> wrote:
A json object is like this - {3}.

How to get the value -3 out of this json object {3}


That isn’t valid json so your question doesn’t make sense.

Just treat it as a text type and use one or more of the documented text functions to manipulate it.

David J.

 

 

 

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