JSON_EXTRACT MySQL example
Example 1: mysql json extract escape
SELECT JSON_EXTRACT('{"user.name": "Aztalan"}', '$."user.name"');
Example 2: mysql JSON_SEARCH LIKE
$query=$query->whereRaw('UPPER(education->"$[*].profession") LIKE UPPER("%' . $profession . '%")');
Example 3: json_extract in non native query
Query query = em.createQuery("select o from Product o FUNCTION('JSON_EXTRACT', o.des, '$.org') = :org");