live-awk-mode
jsonslicer
live-awk-mode | jsonslicer | |
---|---|---|
1 | 1 | |
13 | 46 | |
- | - | |
0.0 | 0.0 | |
over 10 years ago | over 1 year ago | |
Emacs Lisp | C++ | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
live-awk-mode
-
Bringing the Unix Philosophy to the 21st Century
Live editing an awk program is pretty trivial to do in Emacs. I use this occasionally with awk-mode which is ~20 LoC:
https://github.com/danlamanna/live-awk-mode
jsonslicer
-
Bringing the Unix Philosophy to the 21st Century
> JSON’s design assumes the user can read the entire file into memory
No? The design of most JSON libraries assumes that, but there are perfectly good incremental JSON parsers out there[1–3]. It’s just that people don’t seem to have figured out a good API for not-completely-incremental parsing (please prove me wrong here!), but this applies equally to any structured data format as soon as you want to pull out pieces of data that are nested more than one level down.
The lack of length prefixes in JSON does indeed make a solid parser somewhat more difficult, but you get the ability to author and validate it manually instead. All in all a draw and not because of the incremental parsing thing.
(Tabular or otherwise homogeneous data is indeed reprsented wastefully, but unless the individual records are huge json+gzip is a perfectly serviceable “worse-is-better” solution.)
[1] https://github.com/ICRAR/ijson
[2] https://github.com/AMDmi3/jsonslicer
[3] https://github.com/danielyule/naya
What are some alternatives?
nushell - A new type of shell
ijson - Iterative JSON parser with Pythonic interfaces
Octo Pack - Creates Octopus-compatible NuGet packages
jello - CLI tool to filter JSON and JSON Lines data with Python syntax. (Similar to jq)
murex - A smarter shell and scripting environment with advanced features designed for usability, safety and productivity (eg smarter DevOps tooling)
jc - CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.
Gooey - Turn (almost) any Python command line program into a full GUI application with one line
ngs - Next Generation Shell (NGS)
jellex - TUI to filter JSON and JSON Lines data with Python syntax