ihorm5 / json_structure

Module to quickly explore json_structure of json files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This module was written with only one goal in mind: to have the ability to simply explore json structure of big documents.

Example of usage:

from json_structure import structure

In [8]: structure(data)                                                                                                                                                                                                                                
Out[8]: 
{'children': [{'dateAdded': int,
   'id': str,
   'index': int,
   'parentId': str,
   'title': str,
   'url': str},
  {'children': [{'dateAdded': int,
     'id': str,
     'index': int,
     'parentId': str,
     'title': str,
     'url': str}],
   'dateAdded': int,
   'dateGroupModified': int,
   'id': str,
   'index': int,
   'parentId': str,
   'title': str}],
 'dateAdded': int,
 'dateGroupModified': int,
 'id': str,
 'index': int,
 'parentId': str,
 'title': str}

About

Module to quickly explore json_structure of json files

License:MIT License


Languages

Language:Python 100.0%