In jq, how can I convert a JSON to a string with key=value
?
From:
{
"var": 1,
"foo": "bar",
"x": "test"
}
To:
var=1
foo=bar
x=test
See Question&Answers more detail:osIn jq, how can I convert a JSON to a string with key=value
?
From:
{
"var": 1,
"foo": "bar",
"x": "test"
}
To:
var=1
foo=bar
x=test
See Question&Answers more detail:os