Packages

p

com.lightbend.lagom

serialization

package serialization

Type Members

  1. trait CompressedJsonable extends Jsonable

    The serializer will compress the payload if the message class implements this marker interface and the payload is larger than the configured compress-larger-than value.

  2. trait Jsonable extends Serializable

    Marker interface for messages that are serialized as JSON.

    Marker interface for messages that are serialized as JSON.

    It extends java.io.Serializable to give it higher priority than JavaSerializer in Akka in case message class implements both interfaces.

  3. abstract class JacksonJsonMigration extends AnyRef

    Data migration of old formats to current format can be implemented in a concrete subclass and configured to be used by the JacksonJsonSerializer for a changed class.

    Data migration of old formats to current format can be implemented in a concrete subclass and configured to be used by the JacksonJsonSerializer for a changed class.

    It is used when deserializing data of older version than the #currentVersion. You implement the transformation of the JSON structure in the #transform method. If you have changed the class name you should override #transformClassName and return current class name.

    Annotations
    @deprecated
    Deprecated

    (Since version 1.6.0) Use akka.serialization.jackson.JacksonMigration instead

Ungrouped