Interface ObjectConverter<O,​V extends org.msgpack.value.Value>

    • Method Detail

      • toValue

        V toValue​(O object)
        Convert Java object to a MessagePack entity
        Parameters:
        object - object
        Returns:
        entity
      • canConvertObject

        default boolean canConvertObject​(O object)
        Optional method for determining if this specific object can be converted to the specified Value type.
        Parameters:
        object - the object to be converted
        Returns:
        true, if the object csn be converted