Class 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.
    • Method Detail

      • writeValueAsBytes

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