JQ Filter with null (null) and string (“sample”) cannot have their containment checked exit status 5

I was working on filtering a large json file using the select() and contains() functions of jq, but I kept getting an error like the above. I found a few articles, but none of them complete made sense of what was going on. Finally I figured out that some of the objects within my json […]