### Question:
JsonParser { public Stream openWithOffsetInJsonPointer(InputStream in, String offsetInJsonPointer) throws IOException { return new StreamParseContext(factory, in, offsetInJsonPointer); } 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 testParseMultipleJsonsWithPointer() throws Exception { final JsonParser parser = new JsonParser(); final String multipleJsons = "{\"a\": {\"b\": 1}}{\"a\": {\"b\": 2}}"; try (JsonParser.Stream stream = parser.openWithOffsetInJsonPointer(toInputStream(multipleJsons), "/a/b")) { assertEquals(1, stream.next().asIntegerValue().asInt()); assertEquals(2, stream.next().asIntegerValue().asInt()); assertNull(stream.next()); } }