jqlang/jq ? reverse-engineered prompt

Reverse engineered prompt

I want to build a lightweight and flexible command-line JSON processor. It should work like sed or awk but for structured JSON data. The main goal is to let users easily slice, filter, map, and transform JSON right from the terminal. For example, you should be able to pipe a JSON file into it and extract a single value, like pulling the version number out of a package.json file with a simple query.

The tool needs to be written in portable C and have zero runtime dependencies so it's just a single, fast binary. Please set up the project to be buildable from source using standard tools like make and autoconf. Also, include a Dockerfile so it's easy for people to run it in a container without having to compile it themselves. It should be a robust C project that's easy to build and use across different systems.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab