How to get value wrapped in json?

From: Shaozhong SHI <shishaozhong(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: How to get value wrapped in json?
Date: 2022-05-07 01:54:23
Message-ID: CA+i5JwY_Pk8McRsRb3Op_uCQErs8UuYNK27v5sgPwAcTyHN6Gg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

A json object is like this - {3}.

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

David

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Hasan Marzooq 2022-05-07 02:35:44 pg_dump: VACUUM and REINDEXING
Previous Message David G. Johnston 2022-05-07 01:50:05 Re: Vertical partition