This is also a nickname/slang for a man who visits prostitutes.

This is often with an indefinate article such as a as in "a john" or in plural form. But it is not necessary. Also a typical name, like John Doe or Jane Doe.