Skip to content

Summarizes JSON file contents (or native Python data structures)

Notifications You must be signed in to change notification settings

rcmiller/json-summarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

json-summarizer

Summarizes JSON file contents (or native Python data structures)

Pretty easy to run in Python 2.X (tested on Python 2.7):

python summarize_json.py <JSON file>

This script prints out a summary of your JSON file's contents, essentially inferring a schema using some simple heuristics.

It comes in handy for understanding the structure of a blob of JSON (or native Python) data that someone else hands to you without proper documentation. And it can also be used to manually sanity-check files for outliers, weird values, inconsistencies, etc.

Project instigated by this Twitter conversation on 2013-07-18.

Email philip@pgbovine.net with bug reports, feature requests, etc.

About

Summarizes JSON file contents (or native Python data structures)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages