And to use best practises with this you want to turn it around as well :)


if (("y".equalsIgnoreCase(answer) || ("yes".equalsIgnoreCase(answer)) {

// Json :)