> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eloquentfiltering.com/llms.txt
> Use this file to discover all available pages before exploring further.

# JSON Path Wildcards

## Overview

When specifying the target of a json database field you can specify wildcards in the json path.

## Example

```php {14} theme={null}
public function allowedFilters(): AllowedFilterList
{
    return Filter::only(
        Filter::field('data->*->array', [FilterType::JSON_CONTAINS]),
    );
}

/*
 * Allows:
 */
$filters = [
    [
        'type'   => '$jsonContains',
        'target' => 'data->languages->array',
        'value'  => [
            'en',
            'de',
        ]
    ]
];
```
