Skip to content

Built-in filters: ForceJSONMime filter


The ForceJSONMime filter forces all documents that are processed by the filter framework to present a application/json MIME type. This is useful for collections that use the JSONToXML filter where the collection only includes content from a single JSON file or set of JSON files and the web server that hosts the JSON file is not returning the correct MIME type.


To enable the filter add ForceJSONMime to the filter chain.

Note: The ForceJSONMime filter must appear in the filter chain before other filters that rely on the application/json MIME type.


To force Funnelback to treat all documents as JSON and convert all entries to XML:


See also


Funnelback logo