I am trying to get the email from the array json, but it returns null value
[
{
"name": "Arun",
"email": "[email protected]"
},
{
"name": "Arun kumar",
"email": "[email protected]"
}
]
and my Json query is select json->>"$.name" as email from json
But this query is return null value
select json->>"$.name" as email from json?