Class JsonHelper
java.lang.Object
org.nuxeo.ecm.automation.jaxrs.io.JsonHelper
- Since:
- 5.7.3
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.fasterxml.jackson.core.JsonGenerator
createJsonGenerator
(com.fasterxml.jackson.core.JsonFactory jsonFactory, OutputStream out) Helper method to centralize the JsonEncoding to usestatic com.fasterxml.jackson.core.JsonGenerator
-
Constructor Details
-
JsonHelper
public JsonHelper()
-
-
Method Details
-
createJsonGenerator
public static com.fasterxml.jackson.core.JsonGenerator createJsonGenerator(com.fasterxml.jackson.core.JsonFactory jsonFactory, OutputStream out) throws IOException Helper method to centralize the JsonEncoding to use- Throws:
IOException
-
createJsonGenerator
public static com.fasterxml.jackson.core.JsonGenerator createJsonGenerator(OutputStream out) throws IOException - Throws:
IOException
-