I have json string like '{"ww":11}'
How can i get value 11 in pl/pgsql ?
I try:
json_var := '{"ww":11}'::json
json_var->ww;
json_var->"ww";
json_var.ww;
All of this failed.
Please help!
Dmitry
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The
jsontype is just text. The advantage of using it is syntax check. Just that.Check this question