/** * Convenience method that binds content read using given parser, using * configuration of this reader, except that content is bound as * JSON tree instead of configured root value type. *<p> * Note: if an object was specified with {@link #withValueToUpdate}, it * will be ignored. */ @Override public JsonNode readTree(JsonParser jp) throws IOException, JsonProcessingException { return _bindAsTree(jp); }
protected JsonNode _bindAndCloseAsTree(JsonParser jp) throws IOException, JsonParseException, JsonMappingException { if (_schema != null) { jp.setSchema(_schema); } try { return _bindAsTree(jp); } finally { try { jp.close(); } catch (IOException ioe) { } } }
/** * Convenience method that binds content read using given parser, using * configuration of this reader, except that content is bound as * JSON tree instead of configured root value type. *<p> * Note: if an object was specified with {@link #withValueToUpdate}, it * will be ignored. */ @Override public JsonNode readTree(JsonParser jp) throws IOException, JsonProcessingException { return _bindAsTree(jp); }
protected JsonNode _bindAndCloseAsTree(JsonParser jp) throws IOException, JsonParseException, JsonMappingException { if (_schema != null) { jp.setSchema(_schema); } try { return _bindAsTree(jp); } finally { try { jp.close(); } catch (IOException ioe) { } } }
@Override public JsonNode readTree(JsonParser jp) throws IOException, JsonProcessingException { return _bindAsTree(jp); }
@Override // from ObjectCodec public JsonNode readTree(JsonParser jp) throws IOException, JsonProcessingException { return _bindAsTree(jp); }
/** * Convenience method that binds content read using given parser, using * configuration of this reader, except that content is bound as * JSON tree instead of configured root value type. *<p> * Note: if an object was specified with {@link #withValueToUpdate}, it * will be ignored. */ @Override public JsonNode readTree(JsonParser jp) throws IOException, JsonProcessingException { return _bindAsTree(jp); }
protected JsonNode _bindAndCloseAsTree(JsonParser jp) throws IOException, JsonParseException, JsonMappingException { if (_schema != null) { jp.setSchema(_schema); } try { return _bindAsTree(jp); } finally { try { jp.close(); } catch (IOException ioe) { } } }
protected JsonNode _bindAndCloseAsTree(JsonParser jp) throws IOException, JsonParseException, JsonMappingException { if (_schema != null) { jp.setSchema(_schema); } try { return _bindAsTree(jp); } finally { try { jp.close(); } catch (IOException ioe) { } } }
protected JsonNode _bindAndCloseAsTree(JsonParser jp) throws IOException, JsonParseException, JsonMappingException { if (_schema != null) { jp.setSchema(_schema); } try { return _bindAsTree(jp); } finally { try { jp.close(); } catch (IOException ioe) { } } }