The preview shows up here.
An IN list is easy until a value contains a comma. Paste ["A,B", 2, null] and the page returns IN ('A,B', 2, NULL). The comma between A and B stays inside the quotes. The number 2 is not quoted. null becomes the keyword NULL, not the string 'null'.
You can also type a loose list separated by commas or newlines, and each piece is typed: a number stays a number, true and false become booleans, and other tokens become strings. The JSON form is the one to use when a value itself contains a comma, because a split on commas would have turned A,B into two values.
The result is only the IN (...) fragment. It does not name a column and it does not write WHERE. You paste it after the column yourself. Empty input is an error.
["A,B", 2, null]
IN ('A,B', 2, NULL)
JSON is how a comma survives. A plain split would have made IN ('A', 'B', ...) and changed the filter.
It was a JSON string. The comma is inside the quotes in the SQL. A loose list split on commas would have separated A and B.
As NULL, unquoted. The string null, if you really want those four letters, has to be a JSON string "null".
No. 2 stays 2. Text is single-quoted, and a quote inside text is doubled.
No. You get the IN fragment only. The column and the rest of the statement are yours.