Click here to Skip to main content
11,416,572 members (59,222 online)
Click here to Skip to main content

View JSON in Internet Explorer

, 21 May 2014 CPOL
Rate this:
Please Sign up or sign in to vote.
A simple Registry change will enable IE to display JSON responses.

Need to view JSON responses in IE?

  1. Open Notepad and paste the following:
  2. Windows Registry Editor Version 5.00;
    ; Tell IE 7,8,9,10,11 to open JSON documents in the browser on Windows XP and later.
    ; 25336920-03F9-11cf-8FD0-00AA00686F13 is the CLSID for the "Browse in place" .
    ;
    [HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/json]
    "CLSID"="{25336920-03F9-11cf-8FD0-00AA00686F13}"
    "Encoding"=hex:08,00,00,00
  3. Save document as IE-Json.reg and then run it.

Note: This has been tested on Windows XP, Windows 7, and Windows 8.1 using IE 7, 8, 9, 10, 11.

Edit: Thank you to peterennis for testing in IE 10.

Edit: Thank you to all testing in the various environments.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Coding 101
Software Developer
United States United States
No Biography provided
Follow on   Google+

Comments and Discussions

 
QuestionIt does not work! Pin
Thornik22-May-14 9:09
memberThornik22-May-14 9:09 
AnswerRe: It does not work! Pin
Takuan.Daikon19-Jun-14 19:20
memberTakuan.Daikon19-Jun-14 19:20 
SuggestionAdd "application/x-json" and "text/json", then it works in most situations Pin
Peter BCKR21-May-14 4:46
memberPeter BCKR21-May-14 4:46 
GeneralRe: Add "application/x-json" and "text/json", then it works in most situations Pin
Pong God28-Jan-15 13:33
memberPong God28-Jan-15 13:33 
QuestionIE 11 Tested Pin
Hal Diggs20-May-14 11:19
memberHal Diggs20-May-14 11:19 
QuestionIt is not working on IE 11 Pin
Zhao Jiang18-Apr-14 9:02
memberZhao Jiang18-Apr-14 9:02 
GeneralIt Worked Pin
Rupesh Kumar Tiwari7-Feb-14 7:42
memberRupesh Kumar Tiwari7-Feb-14 7:42 
Question5 stars Pin
Paddy_McDonald26-Oct-13 12:15
memberPaddy_McDonald26-Oct-13 12:15 
GeneralMy vote of 5 Pin
peterennis10-May-13 12:24
memberpeterennis10-May-13 12:24 
GeneralReason for my vote of 5 short, to the point, and it works!!! Pin
lvaluep21-Nov-11 3:43
memberlvaluep21-Nov-11 3:43 
Reason for my vote of 5
short, to the point, and it works!!!

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150427.4 | Last Updated 21 May 2014
Article Copyright 2011 by Coding 101
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid