python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
jq delete function doesn't work with variable
I'm trying to pass a variable to a jq delete function. It doesn't work with the variable, but does work if hard-coded. Could someone help me understand what I'm doing wrong.
Doesn't work:
echo '{"...
parliamentowl
Votes: 0
Answers: 1
Iterating over arrays simultaneously using jq
I'm describing the output I'd like to have using jq
Here my json file
{
"partitions": [
{
"replicas": [
0,
1,
2
],
"log_dirs&qu...
Fares
Votes: 0
Answers: 2
jq - decode json value in flow
I am need to decode the authorization value from apache in flow and replace the value with the username , returning the modified json.
original Json:
{ "time":"2022-04-07T12:53:39.302+0...
Dargod
Votes: 0
Answers: 1
Is there a way to instantiate key with JQ?
Is there a way for jq to instantiate a key to output?
Given:
{
"foo": "bizz",
"bar": "buzz",
"bat": [
"somestring"
]
}
I would ...
wiggitywacker
Votes: 0
Answers: 2