Class ToStringSerializer

    • Constructor Detail

      • ToStringSerializer

        public ToStringSerializer()

        Note: usually you should NOT create new instances, but instead use instance which is stateless and fully thread-safe. However, there are cases where constructor is needed; for example, when using explicit serializer annotations like JsonSerialize.using().

      • ToStringSerializer

        public ToStringSerializer​(java.lang.Class<?> handledType)
        Sometimes it may actually make sense to retain actual handled type.