How to get value wrapped in json?

Started by Shaozhong SHIalmost 4 years ago2 messagesgeneral
Jump to latest
#1Shaozhong SHI
shishaozhong@gmail.com

A json object is like this - {3}.

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

David

#2David G. Johnston
david.g.johnston@gmail.com
In reply to: Shaozhong SHI (#1)
Re: How to get value wrapped in json?

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.