Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to display formatted large JSON file in browser or application?

Tags:

json

plugins

I have so far used Jsonview chrome extension to view formatted json. Now i have to work with large JSON file (3MB) and it crashes chrome.

What app or browser extension, plugin .. do you recommend for viewing large json files?

like image 980
DixieFlatline Avatar asked May 06 '11 12:05

DixieFlatline


People also ask

How do I view large JSON files?

If you want to open big JSON files (potentially running to hundreds of millions of rows) you need to take a completely different approach. One such option is to use Python, or another similarly powerful coding or scripting language.

How do I display JSON data in my browser?

Right click on JSON file, select open, navigate to program you want open with(notepad). Consecutive opens automatically use notepad.


2 Answers

use jsonlint.com this will also debug your code..

or use jsbeautifier.org

like image 129
diEcho Avatar answered Nov 02 '22 10:11

diEcho


If you just want to preview the file to understand the general structure and data without necessarily seeing the entire file, you could use Cluria (http://www.cluria.com). I've tested it on JSON files of more than 100MB in size and it loads incredibly fast.

Its entirely free and web-based so no downloads needed.

Disclaimer: I created the Cluria website.

like image 35
user1101329 Avatar answered Nov 02 '22 09:11

user1101329