package deserialize
- Alphabetic
- Public
- Protected
Type Members
- 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.
- 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.
- 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
- 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.
- 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.