In MySQL, we can use the ->>
operator to extract a value from a JSON document, and unquote that value.
We provide the column that contains the JSON document to the left of the operator, and the path to the value that we want to extract to the right.
The ->>
operator is equivalent to JSON_UNQUOTE(JSON_EXTRACT())
, and it provides the same results.