Packages

package serialize

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package defaults

Type Members

  1. trait Marshaller extends AnyRef

    Defines interface of class/object that defines marshal method.

    Defines interface of class/object that defines marshal method. This method serializes a specific scala data structure to json format.

  2. class Serializer extends AnyRef

    Responsible for serializing scala data structure com.celadari.jsonlogicscala.tree.JsonLogicCore to json.

    Responsible for serializing scala data structure com.celadari.jsonlogicscala.tree.JsonLogicCore to json. May be extended to fit custom use cases. Providing the right configuration via com.celadari.jsonlogicscala.serialize.SerializerConf is enough to cover most cases. You may redefine methods to handle extreme uncommon cases.

  3. case class SerializerConf(marshallerMetaInfAdd: Map[String, Marshaller], marshallersManualAdd: Map[String, Marshaller], isPriorityToManualAdd: Boolean = true) extends Product with Serializable

    Represents a serializer's configuration.

    Represents a serializer's configuration. It informs the serializer how to map a type_codename to a com.celadari.jsonlogicscala.serialize.Marshaller.

Value Members

  1. object Serializer

    Companion object that holds implicit serializer.

    Companion object that holds implicit serializer. Useful to invoke methods using implicit com.celadari.jsonlogicscala.serialize.Serializer that do not require custom Serializer.

  2. object SerializerConf extends Serializable

    Companion object to hold implicit: com.celadari.jsonlogicscala.serialize.SerializerConf, mapping of default marshallers (type_codename -> Marshaller), method to create a custom configuration.

Ungrouped