I am passing username and password to jq the following way:
json=$(jq -n --arg u "user_dev" --arg p "user!" '{username: $u, password: $p}')
However, it is failing and giving the following output:
-bash: !": event not found
It seem that it is not liking exclamation mark with the arg p "user!"