The Boy in The Striped Pyjamas fits into the genre of Holocaust fiction.[19] Boyne uses general knowledge about the Holocaust to create a self-described "fable", that relies more on a story of moral truth than historical accuracy.[19] This type of literature, as shown in The Boy in the Striped Pyjamas, tends to be told to children, from a child's perspective.[20] By having one child share the "bitter herbs" of history with another, the novel instills moral obligation in children.[20]
Kenneth Kidd, professor of English at the University of Florida, argues that John Boyne's use of fable allows him to explore the darker elements of the Holocaust with more of a cautionary tale resulting.[21]