Skip to content
This repository has been archived by the owner on Nov 26, 2023. It is now read-only.

Remove the jq dependency by using gojq library #24

Open
kpym opened this issue Apr 7, 2021 · 1 comment
Open

Remove the jq dependency by using gojq library #24

kpym opened this issue Apr 7, 2021 · 1 comment

Comments

@kpym
Copy link

kpym commented Apr 7, 2021

Everything is in the title, I think that it s probably a good idea to use the gojq library to create a pure go project. Even if gojq could be slower than jq it is almost sure that using native go library will be faster than calling external program.

@Houlistonm
Copy link

I've up voted the original request.
I've cloned and built a local copy of jiq to use the gojo cli and now my local jiq supports yaml. jiq --yaml-input < sample.yaml or jiq --yaml-input --yaml-output < sample.yaml

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants