com.fasterxml.jackson.databind.ser.std

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(Class<?> handledType)
        Sometimes it may actually make sense to retain actual handled type.
        Since:
        2.5

Copyright © 2008–2019 FasterXML. All rights reserved.