Skip to content

Simple stupid tool to help with disassembling JSON assets.

License

Notifications You must be signed in to change notification settings

jamesaustin/disassembler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

disassembler

Simple stupid tool to help with disassembling JSON assets.

Tested with Python 3.8.16 on macOS 13.1

Usage

usage: disassembler.py [-h] [--style {compact,pretty,debug,keys}] [--all] [--indent INDENT]
                       [--depth DEPTH] [--dict DICT] [--list LIST] [--paths] [--counts]
                       [--path PATH] [--verbose] [--debug] [--test]
                       [input [input ...]]

positional arguments:
  input                 JSON files to process (default: None)

optional arguments:
  -h, --help            show this help message and exit
  --style {compact,pretty,debug,keys}
                        Style of JSON output (default: debug)

what to output?:
  --all                 Output everything (default: False)
  --indent INDENT       Print indentation (default: 2)
  --depth DEPTH         Depth to recurse (default: 5)
  --dict DICT           Num dict entries to display (default: 4)
  --list LIST           Num list entries to display (default: 2)
  --paths               Output item paths (default: False)
  --counts              Output item counts (default: False)
  --path PATH           File pattern selection of elements to display (default: None)

debugging options:
  --verbose, -v
  --debug
  --test                Test the tool against a built-in unit test (default: False)

Contributor list

@james_austin

About

Simple stupid tool to help with disassembling JSON assets.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published