I have a json similar to the following:
{
"_source" : {
"index-pattern" : {
"fields" : ""
}
}
}
I'm trying to modify fields, but chaining the . identity operator, such as 'jq ._source.["index-pattern"].fields
' produces the following error:
'._source.["index-pattern"]
^
1 compile error'
Any ideas?
thanks