title: Comparing PostgreSQL JSON arrays for any matches
body: <p>I'm trying to compare two JSON arrays in PostgreSQL to see if there are any matches. For instance I would expect true when comparing <code>'["foo", "bar", "baz"]'</code> and <code>'["qux", "bar"]'</code> and false when comparing <code>'["foo", "bar", "baz"]'</code> and <code>'["qux", "quz"]'</code>. Is it possible to do that in PostgreSQL without creating a function?</p>