Package

com.lightbend.lagom

serialization

Permalink

package serialization

Visibility
  1. Public
  2. All

Type Members

  1. trait CompressedJsonable extends Jsonable

    Permalink

    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. abstract class JacksonJsonMigration extends AnyRef

    Permalink

    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.

  3. trait Jsonable extends Serializable

    Permalink

    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.

Ungrouped