5859606162636465
if (factory == null) { factory = Json.createWriterFactory(null); } Charset charset = getCharset(mediaType); return factory.createWriter(os, charset); } }