Let\'s say I have a JSON column named data in some MySQL table, and this column is a single array. So, for example, data may contain:
SELECT JSON_SEARCH('["1","2","3","4","5"]', 'one', "2") is not null
is true
SELECT JSON_SEARCH('["1","2","3","4","5"]', 'one', "6") is not null
is false