Note: original implementation based on writer from Jackson core package; modified slightly, copied to reduce dependency to impl details.
411412413414415416417418419
@Override protected Writer _createWriter(OutputStream out, JsonEncoding enc, IOContext ctxt) throws IOException { if (enc == JsonEncoding.UTF8) { return new UTF8Writer(ctxt, out); } return new OutputStreamWriter(out, enc.getJavaName()); }
316317318319320321322323324
326327328329330331332333334