I think in https://github.com/bhollis/jsonview/pull/195 the mime-type regex got broken and no longer supports application/whatever+json format (despite it being claimed in comments above the code)
The reason I suspect is due to wrong regex capturing group where character class was removed ([abc] aka match any in [] brackets)
I think in https://github.com/bhollis/jsonview/pull/195 the mime-type regex got broken and no longer supports application/whatever+json format (despite it being claimed in comments above the code)
The reason I suspect is due to wrong regex capturing group where character class was removed ([abc] aka match any in [] brackets)
This is an attempt to fix it
See https://regex101.com/r/EwGGRb/1 for a quick test of new regex