My desired end state is a JSON file like this:
{
"xxx": null
}
but the command jq --null-input --arg tst null '.xxx=$tst' produces:
{
"xxx": "null"
}
and jq --null-input --arg tst "" '.xxx=$tst' produces:
{
"xxx": ""
}
How can I pass a value that becomes the value null and not string "null"?