Packages

package deserialize

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package defaults

Type Members

  1. class Deserializer extends AnyRef

    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

    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

    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

    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

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

Ungrouped