2 of 3
deleted 3 characters in body

jq reading filter from a file results in Invalid Syntax Error

filter.jq ".security = {hideVersionStringsWhenNotLogged: true}"

When trying to apply the filter, jq --from-file filter.jq a.json

encountering the following error jq: error: syntax error, unexpected INVALID_CHARACTER, expecting $end (Unix shell quoting issues?) at , line 1

tried all combinations of single and double quotes to no avail. Any suggestions? Thx