You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/comparison_with_other_tools.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@
14
14
15
15
*[yq](https://github.com/mikefarah/yq/) supports formats like XML and HCL that celq does not.
16
16
* yq's syntax is inspired by jqlang.
17
+
* yq can output YAML while celq is focused on JSON.
17
18
*[yqlib](https://pkg.go.dev/github.com/mikefarah/yq/v4/pkg/yqlib) can be reused in Golang only.
18
19
* yq is less hermetic than celq by default. That can be mitigated with the `--security-disable-env-ops ` and `--security-disable-file-ops` flags
19
20
@@ -22,6 +23,7 @@
22
23
*[jaq](https://github.com/01mf02/jaq) uses jqlang, as it is a Rust clone of `jq`
23
24
* 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).
24
25
* 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.
25
27
* jaq did not support JSON5 when `celq` was originally written (but this could trivially be added to jaq)
26
28
* Until benchmarks come out, assume that jaq is faster than celq
27
29
* celq can process JSON Lines in parallel, while jaq cannot (but this could trivially be added to jaq)
@@ -41,6 +43,7 @@
41
43
* celq can use the `--from-gron` flag to achieve the same behavior as ungron
42
44
* gron has been rewritten in C++, see [fastgron](https://github.com/adamritter/fastgron).
43
45
* gron did not support JSON5 when celq was originally written.
46
+
* gron sorts the output by default while celq does not.
0 commit comments