summaryrefslogtreecommitdiffstats
path: root/devtools/docs/user/json_viewer/index.rst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /devtools/docs/user/json_viewer/index.rst
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'devtools/docs/user/json_viewer/index.rst')
-rw-r--r--devtools/docs/user/json_viewer/index.rst18
1 files changed, 18 insertions, 0 deletions
diff --git a/devtools/docs/user/json_viewer/index.rst b/devtools/docs/user/json_viewer/index.rst
new file mode 100644
index 0000000000..f3e313dea1
--- /dev/null
+++ b/devtools/docs/user/json_viewer/index.rst
@@ -0,0 +1,18 @@
+===========
+JSON viewer
+===========
+
+The JSON viewer is new in Firefox 44.
+
+Before Firefox 53, the JSON viewer is enabled by default only in Firefox Developer Edition and Firefox Nightly. To enable this feature in other release channels, set the ```devtools.jsonview.enabled``` preference to ```true```.
+
+From Firefox 53 onwards, the JSON viewer is also enabled by default in Beta and the normal release version of Firefox.
+
+
+Firefox includes a JSON viewer. If you open a JSON file in the browser, or view a remote URL with the Content-Type set to application/json, it is parsed and given syntax highlighting. Arrays and objects are shown collapsed, and you can expand them using the "+" icons.
+
+The JSON viewer provides a search box that you can use to filter the JSON.
+
+You can also view the raw JSON and pretty-print it.
+
+Finally, if the document was the result of a network request, the viewer displays the request and response headers.