Class JsonHelper
- java.lang.Object
-
- org.nuxeo.ecm.automation.jaxrs.io.JsonHelper
-
public final class JsonHelper extends Object
- Since:
- 5.7.3
-
-
Constructor Summary
Constructors Constructor Description JsonHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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
createJsonGenerator(OutputStream out)
-
-
-
Constructor Detail
-
JsonHelper
public JsonHelper()
-
-
Method Detail
-
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
-
-