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
The json type is just text. The advantage of using it is syntax check. Just that.
Check this question
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With