This is a proposal for a new feature that is not yet in development.
Currently when you navigate to a JSON file in Microsoft Edge, you get a basic text display of the document.
When navigating to an HTML document, and selecting “view source” you get a colour-coded display with line numbers instead.
We propose to replace that basic JSON view with a colour-coded, collapsible and expandable one.
We are currently investigating the overall browser performance impact of this, which is why the first implementation is what is shown in the screencast above.
As JSON files are data structures and users want to drill down into the data and analyse it in detail. This is a first step in this direction. In subsequent iterations we want to add more functionality like displaying header data and a raw view, saving and copying data and filtering the information.
This functionality will trigger automatically when the browser navigates to a JSON file on the web or the user opens a local one. Once we add more features you will also be able to interact with the JSON data in more detail.
Current: JSON is being displayed as a collapsible tree with line numbers and colour coding in dark and light themes
Upcoming features in delivery order:
Have feedback? We want to hear it! Issue #87 tracks community feedback on this explainer.