Name Description Size Coverage
.eslintrc.mjs 410 -
components 86 %
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/ 12935 94 %
Converter.sys.mjs Create instances of the JSON view converter. 551 100 %
css -
json-size-profiler.mjs Parses a JSON string and creates a Firefox profiler profile describing which parts of the JSON use up how many bytes. 23390 83 %
json-viewer.mjs eslint no-shadow: ["error", { "allow": ["dispatchEvent"] }] 12413 92 %
moz.build 631 -
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 .sys.mjs to avoid creating a compartment at startup when no JSON is being viewed. 2049 96 %
test -