Skip to content

Merging strings and lists into lists #2420

Closed Answered by bpj
bpj asked this question in Q&A
Discussion options

You must be logged in to vote

Never mind I figured it out:

.[]|= map_values(.rm = ([.rm, .ra] | flatten style="flow") | del(.ra))

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bpj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant