# kennson A terminal utility to pretty print JSON. ![Screenshot showing kennson pretty printing a JSON file](screenshot.png) ## Build instructions Make sure you have [Dart](https://dart.dev/get-dart) installed, then run the following: ```bash dart pub get dart compile exe bin/kennson.dart ``` The compiled executable will be inside the `bin` folder, named `kennson.exe` (regardless of platform). ## Parameters ```text -f, --file= Read JSON from file instead of stdin --input= Read JSON as parameter instead of stdin --jsonpath= Display only the matches of the JSON document (also --path) -p, --jsonpointer= Display only the matches of the JSON pointer (also --pointer) -i, --indent Set space indentation level (prefix with t for tab indentation) (defaults to "2") -d, --max-depth Specify maximum nesting before stopping printing ``` ## TODO - [ ] Configuration file - [ ] Customisable colour scheme - [ ] Default indent