3 ms·
Yeah, I find jq similar to writing regexes: I always have to look up the syntax, only get it working after some confusion why my patterns aren't matching, then
by seanwilson 6y ago
Yeah, I find jq similar to writing regexes: I always have to look up the syntax, only get it working after some confusion why my patterns aren't matching, then forget it all in a few days so have to relearn it again later.
Any more alternates to Python or Node that are lightweight to add to a project? I'd rather use Node but that's a massive dependency for a non-Node project.
- code-faster 6y agoYou can use any language with json support, which is most languages. In python, you can have a jq like experience with def f(data): # put code here data = json.load(sys.stdin) output = f(data) print(json.dumps(output))