Package org.nuxeo.elasticsearch.audit.io
Class AuditEntryJSONWriter
- java.lang.Object
-
- org.nuxeo.elasticsearch.audit.io.AuditEntryJSONWriter
-
public class AuditEntryJSONWriter extends Object
-
-
Constructor Summary
Constructors Constructor Description AuditEntryJSONWriter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
asJSON(com.fasterxml.jackson.core.JsonGenerator jg, LogEntry logEntry)
protected static boolean
isJsonContent(String value)
Helper method used to determine if a String field is actually nested JSONprotected static void
writeField(com.fasterxml.jackson.core.JsonGenerator jg, String name, String value)
-
-
-
Constructor Detail
-
AuditEntryJSONWriter
public AuditEntryJSONWriter()
-
-
Method Detail
-
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
-
-