Interface JsonMessage

    • Method Detail

      • toJsonString

        default java.lang.String toJsonString()
                                       throws com.fasterxml.jackson.core.JsonProcessingException
        Returns:
        JSON representation of this object.
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - When no JSON string can be created from this object.
      • toJsonStringNoNull

        default java.lang.String toJsonStringNoNull()
                                             throws com.fasterxml.jackson.core.JsonProcessingException
        Returns:
        JSON representation of this object without null values.
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - When no JSON string can be created from this object.
      • toPrettyJsonString

        default java.lang.String toPrettyJsonString()
                                             throws com.fasterxml.jackson.core.JsonProcessingException
        Returns:
        Pretty formatted JSON representation of this object.
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - When no JSON string can be created from this object.
      • toPrettyJsonStringNoNull

        default java.lang.String toPrettyJsonStringNoNull()
                                                   throws com.fasterxml.jackson.core.JsonProcessingException
        Returns:
        Pretty formatted JSON representation of this object without null values.
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - When no JSON string can be created from this object.