Class JsonHelper

java.lang.Object
org.nuxeo.ecm.automation.jaxrs.io.JsonHelper

public final class JsonHelper extends Object
Since:
5.7.3
  • 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