I take it the input variable is a Scanner ?


input.useDelimiter("\n");

That might work :)

// Json