Package

com.celadari.jsonlogicscala

deserialize

Permalink

package deserialize

Visibility
  1. Public
  2. All

Type Members

  1. class Deserializer extends AnyRef

    Permalink

    Responsible for deserializing json into scala com.celadari.jsonlogicscala.tree.JsonLogicCore data structure.

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

  2. case class DeserializerConf(unmarshallerMetaInfAdd: Map[String, Unmarshaller], unmarshallersManualAdd: Map[String, Unmarshaller], isPriorityToManualAdd: Boolean = true) extends Product with Serializable

    Permalink

    Represents a deserializer's configuration.

    Represents a deserializer's configuration. It informs the deserializer how to map a type_codename to a com.celadari.jsonlogicscala.deserialize.Unmarshaller.

  3. trait Unmarshaller extends AnyRef

    Permalink

    Defines interface of class/object that defines unmarshal method.

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

Value Members

  1. object Deserializer

    Permalink

    Companion object that holds implicit deserializer.

    Companion object that holds implicit deserializer. Useful to invoke methods using implicit com.celadari.jsonlogicscala.deserialize.Deserializer that do not require custom Deserializer.

  2. object DeserializerConf extends Serializable

    Permalink

    Companion object to hold implicit: com.celadari.jsonlogicscala.deserialize.DeserializerConf, mapping of default unmarshallers (type_codename -> Unmarshaller), method to create a custom configuration.

  3. package defaults

    Permalink

Ungrouped