public class AuditEntryJSONWriter extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
AuditEntryJSONWriter() |
Modifier and Type | Method and 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 JSON
|
protected static void |
writeField(com.fasterxml.jackson.core.JsonGenerator jg,
String name,
String value) |
protected static final org.apache.commons.logging.Log log
public AuditEntryJSONWriter()
public static void asJSON(com.fasterxml.jackson.core.JsonGenerator jg, LogEntry logEntry) throws IOException
IOException
protected static boolean isJsonContent(String value)
protected static void writeField(com.fasterxml.jackson.core.JsonGenerator jg, String name, String value) throws IOException
IOException
Copyright © 2018 Nuxeo. All rights reserved.