Turn key-value entry objects into a normal object.
Section: Variables, Reduce, and Advanced Transformations
Convert entries back to object
bash
bash
echo '[{"key":"a","value":1},{"key":"b","value":2}]' | jq 'from_entries'Explanation
Often paired with `to_entries | map(...) | from_entries`.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Variables, Reduce, and Advanced Transformations
Convert object to entries array
Represent an object as key-value entry objects.
Recursively transform all strings
Walk the document and mutate matching values.