mysql get json value by key

JavaScript
SELECT JSON_EXTRACT('{"a": 1, "b": 2, "c": 3}', '$.b') AS 'Result';

Source

Also in JavaScript: