/** * Overridden just to prevent trying to optimize access via char array; * while nice idea, problem is that we don't have proper hooks to ensure * that temporary buffer gets recycled; so let's just use StringReader. */ @Override public JsonParser createParser(ObjectReadContext readCtxt, String content) throws IOException { Reader r = new StringReader(content); IOContext ioCtxt = _createContext(r, true); return _createParser(readCtxt, ioCtxt, _decorate(ioCtxt, r)); }