Skip to content

Commit a881b2e

Browse files
committed
Minor doc updates
1 parent 3430938 commit a881b2e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/comparison_with_other_tools.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
* [yq](https://github.com/mikefarah/yq/) supports formats like XML and HCL that celq does not.
1616
* yq's syntax is inspired by jqlang.
17+
* yq can output YAML while celq is focused on JSON.
1718
* [yqlib](https://pkg.go.dev/github.com/mikefarah/yq/v4/pkg/yqlib) can be reused in Golang only.
1819
* yq is less hermetic than celq by default. That can be mitigated with the `--security-disable-env-ops ` and `--security-disable-file-ops` flags
1920

@@ -22,6 +23,7 @@
2223
* [jaq](https://github.com/01mf02/jaq) uses jqlang, as it is a Rust clone of `jq`
2324
* jqlang can be reused in Rust with [jaq-std](https://crates.io/crates/jaq-std). CEL can be reused in Rust with [cel-rust](https://crates.io/crates/cel/0.12.0).
2425
* jaq supports formats like XML and CBOR that celq does not support.
26+
* jaq can output formats like XML and YAML, while celq is focused on JSON.
2527
* jaq did not support JSON5 when `celq` was originally written (but this could trivially be added to jaq)
2628
* Until benchmarks come out, assume that jaq is faster than celq
2729
* celq can process JSON Lines in parallel, while jaq cannot (but this could trivially be added to jaq)
@@ -41,6 +43,7 @@
4143
* celq can use the `--from-gron` flag to achieve the same behavior as ungron
4244
* gron has been rewritten in C++, see [fastgron](https://github.com/adamritter/fastgron).
4345
* gron did not support JSON5 when celq was originally written.
46+
* gron sorts the output by default while celq does not.
4447

4548
## jsonnet vs celq
4649

0 commit comments

Comments
 (0)