Eiichi Sato

Results 7 comments of Eiichi Sato

Thanks for reporting the issue. The presence of `as $foo` seems to affect precedence of `|` and other operators in jq (https://github.com/stedolan/jq/issues/1928): ```console $ jq -n '1 + 3 |...

Thank you for reporting! I've confirmed the issue. ```console $ jq-1.6 -cn '{key1: true, key2: false} | map_values(select(.))' {"key1":true} $ jq-1.5 -cn '{key1: true, key2: false} | map_values(select(.))' null $...

This is because `until/2` and `while/2` are both defined using recursion which never stops until/while the specified condition is met. https://github.com/eiiches/jackson-jq/blob/c957014363743d46cee7a6143897c21197bca4cb/jackson-jq/src/main/resources/net/thisptr/jackson/jq/jq.json#L92-L93 While the official jq implementation uses tail call optimization...

@ricardozanini Thank you for the great work! I'll pin and keep this issue open so people notice.

You are right, currently, variable values must be pre-computed and there's no way to do dynamic or lazy evaluation. The closest you can do is to implement a custom function...

I just ran into the same issue. Changing the value of `TERM` environment variable from `screen` to `screen-256color` fixed the issue for me. `xterm-256color` and `tmux-256color` seem to work as...

Sure, I'm willing to review and merge them if you send a pull request. I see that they are part of the jq builtins (https://jqlang.github.io/jq/manual/#dates) so there's no reason not...