jf - A JSON path finder written in Go

June 18, 2020 · 1 min read · 104 words · go, tools

I'm working with some fairly large (>100MB) JSON files for a project right now. Due to the large file sizes, it's a little frustrating using VS Code or similar editors to navigate the contents. A lot of editors become slow shortly after opening these files.

So I wrote a little utility called jf, short for "JSON Find." Given a value to search for and a filepath, it will search for the value and print out a dotted path for each occurrence found. Paths output are compatible with jq.

Here it is in action!

I'm certain bugs exist so pull requests are welcome!

Github

Previous

Preserving leading zeros when writing CSV files for Excel

Next

Hello, 2022


Authored by Anthony Fox on June 18, 2020

Have comments or feedback? I'd love to hear from you.