I have to deal with JSON files larger than 1MB, which often contain long arrays and are of unknown structure.
How do I outline those JSON files so that I get an overview of their structure and peaks at some of the values?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Google
JSON formatterand you’ll find several online solutions. The first looks promising to me:JSON Formatter (& Validator)
(It lets you define different output templates and it even validates the structure)
Update: here’s another one that does exactly what you want:
Collapsible JSON Formatter
(It lets you define exactly which levels you want to expand and collapse)