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