Package org.nuxeo.elasticsearch.audit.io
Class AuditEntryJSONWriter
java.lang.Object
org.nuxeo.elasticsearch.audit.io.AuditEntryJSONWriter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
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 Details
-
AuditEntryJSONWriter
public AuditEntryJSONWriter()
-
-
Method Details
-
asJSON
public static void asJSON(com.fasterxml.jackson.core.JsonGenerator jg, LogEntry logEntry) throws IOException - Throws:
IOException
-
isJsonContent
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
-