Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

format strings #2

Closed
itchyny opened this issue Aug 29, 2019 · 8 comments
Closed

format strings #2

itchyny opened this issue Aug 29, 2019 · 8 comments
Labels
enhancement New feature or request

Comments

@itchyny
Copy link
Owner

itchyny commented Aug 29, 2019

@csv, @json etc

@SantoshSrinivas79
Copy link

The performance of gojq is quite good and better than jq. I'm trying to benchmark performance in couple of scenarios.
Is there an equivalent to the @csv option available in jq

Also, I tried gojq on a very huge json file and it breaks due to a memory error. However, jq is able to handle huge files without issues.

@itchyny
Copy link
Owner Author

itchyny commented Jan 5, 2020

I implemented all the format strings.

@SantoshSrinivas79
Copy link

@itchyny thank you very much!

Would you be able to make a release. I tried to build from source but I'm getting the below error. I am not familiar with go

Screenshot 2020-01-06 at 10 12 44 AM

@itchyny
Copy link
Owner Author

itchyny commented Jan 6, 2020

@SantoshSrinivas79 Which version of go do you use? go version

@SantoshSrinivas79
Copy link

go version go1.8.3 darwin/amd64

@itchyny
Copy link
Owner Author

itchyny commented Jan 6, 2020

@SantoshSrinivas79 That's too old. Please use go 1.13.x.

@SantoshSrinivas79
Copy link

@itchyny sorry! never used go. I just upgraded but still unable to build.
No messages ... nothing when I issue the build command.

Please help!

gojq build error

@SantoshSrinivas79
Copy link

@itchyny .. sorry! I think I figure out how the build works.

I had to move the binary:

mv ./go/bin/gojq /usr/local/bin/

The gojq build works now with @csv. gojq 0.7.0 (rev: HEAD/go1.13.5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants