Sql json_extract
select JSON_UNQUOTE(JSON_EXTRACT(base, '$.scope')) as scope from t_name
Shadow
select JSON_UNQUOTE(JSON_EXTRACT(base, '$.scope')) as scope from t_name
$query=$query->whereRaw('UPPER(education->"$[*].profession") LIKE UPPER("%' . $profession . '%")');