[Solved] What is the correct syntax for jq?

[ad_1] -f is for specifying a filename to read your “filter” from – the filter in this case being .sm_api_content It sounds as if you just want to run jq without -f, e.g. jq -r .sm_api_content JSON.txt 0 [ad_2] solved What is the correct syntax for jq?

[Solved] jq case insensitive contains [closed]

[ad_1] It often suffices to convert both strings to the same typographical case using ascii_upcase or ascii_downcase, as in your case: .user | ascii_downcase | contains(“thinking”) If you want to test for equality of strings, ignoring (ASCII) case, you would write something along the lines of: (S|ascii_upcase) == (T|ascii_upcase) If you wanted to test for … Read more