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 Details

  • Method Details

    • writeValueAsBytes

      public static byte[] writeValueAsBytes(Object value) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException