How to display multiple fields in jq output?

You can select multiple fields in jq using the comma (,) and pipe (|) operator. If you want to manipulate the selection, you can use object construction ({}) in jq. Let me give a quick example