@Test
@FixFor( "MODE-2309" )
public void shouldParseJsonWithControlCharactersInFieldValues() throws Exception {

    InputStream stream = getClass().getClassLoader().getResourceAsStream("json/example-with-control-characters.json");
    doc = reader.read(stream);
    assertNotNull(doc);
    assertEquals(6, countFields(doc));
    assertField("firstName", "Jane");
    assertField("lastName", "Doe");
    assertField("fieldWithLF", "This is a value\nwith a line feed");
    assertField("fieldWithCRLF", "This is a value\r\nwith a line feed\r\ncarriage return");
    doc = doc.getDocument("address");
    assertEquals(3, countFields(doc));
    assertField("street", "Main Street");
    assertField("city", "Memphis");
    assertField("zip", 12345);
}