Finlay Smith
Finlay Smith

Reputation: 251

Hal+json viewer in Firefox

The Firefox JSON Viewer shows up whenever the type is "application/json", but prompts for file download when given "application/hal+json". This used to be avoidable by just using the JSON View extension - but that is not currently supported in Quantum.

Is there anything I can do to have Firefox render hal+json?

Upvotes: 2

Views: 517

Answers (1)

Finlay Smith
Finlay Smith

Reputation: 251

Found the answer myself - use https://github.com/clemstoquart/webextension-json-mime-type to modify hal+json to be just json, so that the standard json formatter can be used.

Upvotes: 1

Related Questions