DevToys
DevToys copied to clipboard
Feature Idea: Interactive jq
What's the Problem?
Would be nice to have an interactive jq editor.
Solution/Idea
It could be implemented in a similar way to the Regex editor.
Alternatives
Not have an interactive jq editor.
Priorities
Capability | Priority |
---|---|
This proposal will allow developers to accomplish W | Must |
This proposal will allow end users to accomplish X | Should |
This proposal will allow developers to accomplish Y | Could |
This proposal will allow end users to accomplish Z | Won't |
DevToys Version
No response
Comments
No response
What is "jq"?
+1. What is "jq" ?
@veler , I think @rdavison meant something similar to this :https://jqplay.org/ and for jq reference: https://jqlang.github.io/jq/manual/ yq is also a very similar and helpful tool: https://github.com/mikefarah/yq
Comparing the two repos cited: jq: written in C, works on JSON files, has more commands. yq: written in golang, works on json, xml, properties, csv and tsv files, has fewer commands than jq.
jq's C code, like most C code, rolls its own methods for memory management, and things like linked lists. The major task in porting the code to C# would be stripping out that and making use of native features of the .NET library.
I do not know enough about golang to evaluate what would be needed in a port (heck, I'm not even sure it's golang --- I'm basing that just of the .GO file extensions)