How to concatenate 2 fields in JSON using JQ
Suppose you have the following JSON input:
If you want to concatenate the firstName
and lastName
fields, you can do the following filter
This will produce the following output:
You can try that example in our JQ playground here