Please don’t use ILIKE '%element_of_array%' when querying from JSONB field. Query based on the element of an array of strings in a JSONB field in PostgreSQL using the following steps:
Create a table with a JSONB column. For example:
CREATE TABLE products ( id serial PRIMARY KEY, name text, description jsonb );