Fastgron: Make JSON greppable, super fast
a year ago
- #CLI
- #Performance
- #JSON
- fastgron is a high-performance JSON to GRON converter developed in C++20 using the simdjson library.
- It is 50x faster than gron on large files, making big JSON files easily greppable.
- fastgron can convert JSON to discrete assignments for easier exploration and filtering.
- It supports reverse operations, converting filtered GRON output back into JSON.
- Available for installation via Arch (yay), Homebrew, Nix, Ubuntu, and Windows.
- Supports various command-line options for filtering, sorting, and customizing output.
- Demonstrates significant speed improvements in benchmarks compared to gron, jq, and jj.
- Building requires a C++20 compiler, CMake, and optionally libcurl.
- Future enhancements include more complex path queries, CSV support, and multi-threading.