Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jean-philippe-martin/javajson

Folding TUI JSON viewer
https://github.com/jean-philippe-martin/javajson

Last synced: 7 days ago
JSON representation

Folding TUI JSON viewer

Awesome Lists containing this project

README

        

# Java Json

A simple folding JSON viewer for the terminal, written in Java.

This isn't complete yet, but the basic functionality is there.

Available features:

- parse and display JSON files
- folding
- pinning (pinned rows will be visible even within a folded region)
- multicursor
- time annotation (convert from large number of seconds to hours or days)
- color preview (256 colors, if the terminal supports it)
- scrolling
- text search
- help screen showing the supported keys (press 'h' or '?')

Missing features:

- unicode support
- JSONL files

## Testing

```
mvn test
```

## Building

```
mvn package
```

## Running

```
java -jar target/JavaJson-0.2-SNAPSHOT-jar-with-dependencies.jar testdata/list.json
```

(Change the input file as desired)

Use the up and down arrows to navigate. h for help, q to quit.