/** * Convenience method for trying to construct a {@link JsonParser} for * parsing content which is assumed to be in detected data format. * If no match was found, returns null. */ public JsonParser createParserWithMatch() throws IOException { if (_match == null) { return null; } if (_originalStream == null) { return _match.createJsonParser(_bufferedData, 0, _bufferedLength); } return _match.createJsonParser(getDataStream()); }
/** * Convenience method for trying to construct a {@link JsonParser} for * parsing content which is assumed to be in detected data format. * If no match was found, returns null. */ public JsonParser createParserWithMatch() throws IOException { if (_match == null) { return null; } if (_originalStream == null) { return _match.createJsonParser(_bufferedData, 0, _bufferedLength); } return _match.createJsonParser(getDataStream()); }
/** * Convenience method for trying to construct a {@link JsonParser} for * parsing content which is assumed to be in detected data format. * If no match was found, returns null. */ public JsonParser createParserWithMatch() throws IOException { if (_match == null) { return null; } if (_originalStream == null) { return _match.createJsonParser(_bufferedData, 0, _bufferedLength); } return _match.createJsonParser(getDataStream()); }
/** * Convenience method for trying to construct a {@link JsonParser} for * parsing content which is assumed to be in detected data format. * If no match was found, returns null. */ public JsonParser createParserWithMatch() throws IOException { if (_match == null) { return null; } if (_originalStream == null) { return _match.createJsonParser(_bufferedData, 0, _bufferedLength); } return _match.createJsonParser(getDataStream()); }