Filter::field('options->languages', [FilterType::JSON_CONTAINS]);
See JSON Path Wildcards
$filter = [ 'type' => '$jsonContains', 'target' => 'options->languages', 'value' => 'en', ];
$sql = User::filter([$filter])->toRawSql();
select * from "users" where json_contains("users"."options", '\"en\"', '$."languages"')
None available.