JSON Stream Editor JJ is a command line tool designed to update or retrieve values from JSON documents speedily. It uses a path syntax for retrieving or setting values, and is powered by GJSON and SJSON. JJ avoids parsing irrelevant sections of JSON, skips over values that do not apply, and aborts as soon as the target value has been found or updated. JJ is available for Linux, OSX, Windows, and FreeBSD. The author provides detailed usage examples. The -O option can be used to optimize operations. A performance comparison with jq is highlighted, showing JJ to be significantly faster. JJ is available under the MIT License.
https://github.com/tidwall/jj