ResponseWriter instance which returns a ResponseWriter that minifies the material and afterwards writes to the first ResponseWriter. Any compose soon after applying this filter will likely be minified. The library is deliberately intended in this way for overall performance and protection. Newtonsoft.Json is flexible by default. This elementary difference in https://toolskit.io/json-minify