IE explorer does not open .json files

When i tried open .json file in IExplorer, it asking to open or download the file.

But not able to open .json file .

Basic troubleshooting is done but issue still persists.

 

Question Info


Last updated April 16, 2019 Views 4,547 Applies to:
Answer

Hi AJ,

That is the expected behaviour in IE..... for JSON files (mime-type: text/json) MSIE browser will prompt to download the file... From your downloads folder you can then use the Notepad or another text editing programme to open and edit it....

To open a JSON file in an IE window you need to create a wrapper function to open a new window and then to inject the JSON file's text content inside of a <pre> or <code> block. This is a solution which is beyond the scope of this forum....

Web site development questions are best asked in the appropriate MSDN forum as this forum is for consumer help with MSIE web browsers...

Please post your technical questions about web development or using the MSIE web development tools to...

http://stackoverflow.com/questions/tagged/internet-explorer

* you can also use your favorite search engine to search for solutions to your general and technical questions...

In any web related forum (Microsoft or Stackoverflow) please include links to any website(s) you are having problems with your questions. On technical forums, post a link also to a jsfiddle (jsfiddle.org ) mashup that demonstrates the programming problem you are trying to solve.

Regards.

Rob^_^ wang'you

6 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.