Open this example in the interactive library
Source code
SELECT json_type('{"done":true}','$.done') AS type;
Sample output
[
{
"type": "true"
}
]
Open this example in the interactive library
SELECT json_type('{"done":true}','$.done') AS type;
[
{
"type": "true"
}
]