Name Description Size
.eslintrc.js 360
components
components.conf 1026
converter-child.js This object detects 'application/vnd.mozilla.json.view' content type and converts it into a JSON Viewer application that allows simple JSON inspection. Inspired by JSON View: https://github.com/bhollis/jsonview/ 12479
Converter.sys.mjs Create instances of the JSON view converter. 551
css
json-viewer.mjs eslint no-shadow: ["error", { "allow": ["dispatchEvent"] }] 6529
moz.build 601
Sniffer.sys.mjs This component represents a sniffer (implements nsIContentSniffer interface) responsible for changing top level 'application/json' document types to: 'application/vnd.mozilla.json.view'. This internal type is consequently rendered by JSON View component that represents the JSON through a viewer interface. This is done in the .js file rather than a .jsm to avoid creating a compartment at startup when no JSON is being viewed. 2045
test