What I do:
- RESPONSE_TEMPLATES=$(curl "https://maydomain.com/test)
- I get back JSON which looks like this:
    {
      "templateId": "test",
      "id": 1621030
    }
    {
      "templateId": "test1",
      "id": 5014
    }
    {
      "templateId": "test3",
      "id": 5015
    }
- echo $(${RESPONSE_TEMPLATES} | jq -r '.[]'| {templateId,id}')
Problem is that I always get error: [{"id":1386084,"templateId":"test: command not found
I do not know how I should write 3 steps so that it will display this as a string and not use after ""test: " as command.
 
    