Click here to Skip to main content
Click here to Skip to main content
Go to top

View JSON in Internet Explorer

, 21 May 2014
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! PinmemberThornik22-May-14 8:09 
AnswerRe: It does not work! PinmemberTakuan.Daikon19-Jun-14 18:20 
SuggestionAdd "application/x-json" and "text/json", then it works in most situations PinmemberPeter BCKR21-May-14 3:46 
QuestionIE 11 Tested PinmemberHal Diggs20-May-14 10:19 
QuestionIt is not working on IE 11 PinmemberZhao Jiang18-Apr-14 8:02 
GeneralIt Worked PinmemberRupesh Kumar Tiwari7-Feb-14 6:42 
Question5 stars PinmemberPaddy_McDonald26-Oct-13 11:15 
GeneralMy vote of 5 Pinmemberpeterennis10-May-13 11:24 
GeneralReason for my vote of 5 short, to the point, and it works!!! Pinmemberlvaluep21-Nov-11 2:43 

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 | Mobile
Web04 | 2.8.140916.1 | Last Updated 21 May 2014
Article Copyright 2011 by Coding 101
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid