571572573574575576577578579580581
// but we may need to force root type: if (rootType != null) { writer = writer.withType(rootType); } // and finally, JSONP wrapping, if any: value = endpoint.applyJSONP(value); writer.writeValue(jg, value); } /**
576577578579580581582583584585586
577578579580581582583584585586587
// but we may need to force root type: if (rootType != null) { writer = writer.withType(rootType); } // and finally, JSONP wrapping, if any: value = endpoint.applyJSONP(value); writer.writeValue(jg, value); } finally { jg.close(); }