We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The join/1 builtin needs help:
join/1
-def join($x): reduce .[] as $i (""; . + (if . == "" then $i else $x + $i end)); +def join($x): reduce .[] as $i (null; (.//"") + (if . == null then $i else $x + $i end));
See also comments on #552.
The text was updated successfully, but these errors were encountered:
9760245
Empty arrays join/1 to an empty string, fixes jqlang#668 bug introduc…
4d05dc5
…ed by 9760245
@nicowilliams: join fails for an empty input array; see pull request #669.
join
Sorry, something went wrong.
Merge pull request #669 from joelpurra/join-empty-array-668
cca3e92
Empty arrays join/1 to an empty string, fixes #668 bug introduced by 9760245
This issue was fixed by #669 cca3e92. Thanks!
nicowilliams
No branches or pull requests
The
join/1
builtin needs help:See also comments on #552.
The text was updated successfully, but these errors were encountered: