Package

io

leonard

Permalink

package leonard

Visibility
  1. Public
  2. All

Type Members

  1. case class ClassMapping[A](name: String, format: Format[A]) extends Product with Serializable

    Permalink
  2. case class MergedObject(discriminatorProperty: String) extends SerializationStrategy with Product with Serializable

    Permalink

    MergedObject strategy will format JSON like this { "prop1": "Example content", "type": "Cat" }

    MergedObject strategy will format JSON like this { "prop1": "Example content", "type": "Cat" }

    With "type" being the default discriminator merged with the serialized object properties

  3. sealed trait SerializationStrategy extends AnyRef

    Permalink

    A serializationStrategy is responsible of serialized JSON content organisation

  4. case class SubProperty(discriminatorProperty: String, containerProperty: String) extends SerializationStrategy with Product with Serializable

    Permalink

    SubProperty strategy will format JSON like this { "value": { "prop1": "Example content" }, "type": "Cat" }

  5. class TraitFormat[Supertype] extends Format[Supertype]

    Permalink

Value Members

  1. object MergedObject extends MergedObject

    Permalink
  2. object SubProperty extends SubProperty

    Permalink
  3. object TraitFormat

    Permalink

Ungrouped