faq icon indicating copy to clipboard operation
faq copied to clipboard

Explore gojq instead of linking to libjq

Open jzelinskie opened this issue 4 years ago • 1 comments

gojq is a pure Go libjq implementation. It does have documented incompatibilities, but it's worth leaving an issue open to see if the community is more interested in 100% compatibility or attempting to avoid the complication of linking against C.

jzelinskie avatar Jun 05 '20 22:06 jzelinskie

We could potentially then support various backends if we fleshed out an Engine interface that could be implemented by both libjq and gojq. We could compile all engines into all binaries or allow users to build without cgo and only use pure Go engines.

jzelinskie avatar Oct 26 '20 23:10 jzelinskie