litejs / json-lite

Fast non-blocking JSON viewer for Chrome and Firefox
196 stars 17 forks source link

Add support for JSONAPi content type #20

Closed luispabon closed 6 years ago

luispabon commented 6 years ago

Currently, Firefox doesn't recognise JSONAPI as json and offers a download instead of displaying. I'm wondering whether it'd be possible for json lite to recognise the format as JSON and display as normal.

The content type is application/vnd.api+json

lauriro commented 6 years ago

Same issue with a workaround was in #13 I am not decided yet, should this be implemented in json-lite or is separated extension better.

luispabon commented 6 years ago

It'd make json-lite have no dependencies in order to work with these content types, I reckon that'd be a good thing