Class JsonUtil
- java.lang.Object
-
- org.alfresco.heartbeat.datasender.util.JsonUtil
-
public final class JsonUtil extends Object
JSON serialization/deserialization helper class, it uses a pre-configured object mapper, making it easier to control the format of the data being sent to the Heartbeat server.
-
-
Field Summary
Fields Modifier and Type Field Description static StringDATE_FORMAT
-
-
-
Field Detail
-
DATE_FORMAT
public static final String DATE_FORMAT
- See Also:
- Constant Field Values
-
-
Method Detail
-
writeValueAsBytes
public static byte[] writeValueAsBytes(Object value) throws com.fasterxml.jackson.core.JsonProcessingException
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-