Package

com.celadari.jsonlogicscala

serialize

Permalink

package serialize

Visibility
  1. Public
  2. All

Type Members

  1. trait Marshaller extends AnyRef

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

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

  3. package defaults

    Permalink

Ungrouped