Note: original implementation based on writer from Jackson core package; modified slightly, copied to reduce dependency to impl details.
327328329330331332333334335
@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()); }
481482483484485486487488489
407408409410411412413414415
426427428429430431432433434
491492493494495496497498499
464465466467468469470471472
383384385386387388389390391
402403404405406407408409410
495496497498499500501502503