Given the following jq command and Json:
jq \'.[]|[.string,.number]|join(\": \")\' <<< \' [ { \"number\": 3, \"string\": \"threee\" },
The jq command has the tostring function. It took me a while to learn to use it by trial and error. Here is how to use it:
jq -r '.[] | [ .string, .number|tostring ] | join(": ")' <<< ' [{ "number": 9, "string": "nine"}, { "number": 4, "string": "four"}] ' nine: 9 four: 4