gulyasm / jsonui Goto Github PK
View Code? Open in Web Editor NEWjsonui is an interactive JSON explorer on your command line
License: Apache License 2.0
jsonui is an interactive JSON explorer on your command line
License: Apache License 2.0
If i m not mistaken, there is no way to scroll in horizontal direction (with h/l or left/right). This means that if objects has long value, it overflows the window. There should be something to handle this.
Loving this app tho !!! so minimal I install it on every server I have access to xD
It would be nice for non-Goers to be able to get binary releases, you could do something like mentioned in this PR.
Another improvement could be a search feature. Search by key (?) and search by value. For instance I know the value and I want to figure out its path.
If the window size is under a certain size, the path and the tree view is too small to accommodate the buffer. A minimum size should be set to guarantee that it's still usable.
Null values are shown in a tree as "TODO"
string.
To reproduce this:
echo '{"foo":null}' | jsonui
Output is:
┌─ tree ──┐ ┌─ text ───────────────────┐
│root │ │{ │
│└─ foo │ │ "foo": "TODO" │
│ │ │} │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└─────────┘ └──────────────────────────┘
┌─ path ───────────────────────────────┐
└──────────────────────────────────────┘
Expect this:
┌─ tree ──┐ ┌─ text ───────────────────┐
│root │ │{ │
│└─ foo │ │ "foo": null │
│ │ │} │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└─────────┘ └──────────────────────────┘
┌─ path ───────────────────────────────┐
└──────────────────────────────────────┘
It would be a useful feature to copy the path of a node to the clipboard. For instance I'm looking for a value, I find its node and I want to paste the path of the node to an application.
Project looks great, just thinking it would be nice to install with a package manager.
jsonui chokes on this 1.3MB file:
Navigating up/down causes a 5 second delay while CPU sits at 100%. Memory usage is in excess of 400MB RSS.
$ <<command>> | jq .saveDate
1605792858032
$
$ <<command>> | jsonui
┌─ tree ────────┐ ┌─ text ──────────────────────────────────┐
│root │ │1.605792858032e+12 │
│├─ checkmarkCon│ │ │
│├─ saveDate │ │ │
│└─ search │ │ │
│ │ │ │
Research needed
http://jsonlines.org/
the UI can help you navigate through each json line like pages in book ( or it can be just one type of view )
or by default it opens with the root element as a list.
I'll be happy to contribute.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.