Open tmc9031 opened 4 years ago
it seems django-filter can support JSONField ( with some problems that i am not sure they related to django-filter or jsonfield )
you can read my issue and solution here:
See also #1110.
Supposedly working example: https://github.com/carltongibson/django-filter/issues/1313#issuecomment-2293562219
according to newest django-rest-framework SearchFilter support JSONField whether django-filter could support JSONField ??? also add django-filter.readthedocs.io document context ???
https://www.django-rest-framework.org/community/3.12-announcement/ Nested searches against JSONField and HStoreField
https://www.django-rest-framework.org/api-guide/filtering/ For JSONField and HStoreField fields you can filter based on nested values within the data structure using the same double-underscore notation: