If I have a simple SELECT statement like this:
SELECT JSON_EXTRACT(\'{\"username\":\"Alexander\"}\', \'$.username\');
I would expect it to
You can use JSON_UNQUOTE to achieve this.
JSON_UNQUOTE
select JSON_UNQUOTE(JSON_EXTRACT(base, '$.scope')) as scope from t_name
ref: Functions That Modify JSON Values