### Question:
JsonParser { public Stream open(InputStream in) throws IOException { return openWithOffsetInJsonPointer(in, null); } JsonParser(); Stream open(InputStream in); Stream openWithOffsetInJsonPointer(InputStream in, String offsetInJsonPointer); Value parse(String json); Value parseWithOffsetInJsonPointer(String json, String offsetInJsonPointer);  }### Answer:
@Test public void testParseMultipleJsons() throws Exception { final JsonParser parser = new JsonParser(); final String multipleJsons = "{\"col1\": 1}{\"col1\": 2}"; try (JsonParser.Stream stream = parser.open(toInputStream(multipleJsons))) { assertEquals("{\"col1\":1}", stream.next().toJson()); assertEquals("{\"col1\":2}", stream.next().toJson()); assertNull(stream.next()); } }