Class AuditEntryJSONWriter

java.lang.Object
org.nuxeo.elasticsearch.audit.io.AuditEntryJSONWriter

public class AuditEntryJSONWriter extends Object
  • Constructor Details

    • AuditEntryJSONWriter

      public AuditEntryJSONWriter()
  • Method Details

    • asJSON

      public static void asJSON(com.fasterxml.jackson.core.JsonGenerator jg, LogEntry logEntry) throws IOException
      Throws:
      IOException
    • isJsonContent

      protected static boolean isJsonContent(String value)
      Helper method used to determine if a String field is actually nested JSON
      Since:
      7.4
    • writeField

      protected static void writeField(com.fasterxml.jackson.core.JsonGenerator jg, String name, String value) throws IOException
      Throws:
      IOException