Irony occurs when a situation turns out to be the opposite of what is expected. Dramatic irony is when the author and the audience know that the situation is opposite of what the actors think it is. The Gospel of John, especially John 7:32-52, is dripping with irony. However, John used his irony not to amuse but to instruct us about who Jesus is and what he did. (full sermon notes)