Package

com.celadari.jsonlogicscala.tree

types

Permalink

package types

Visibility
  1. Public
  2. All

Type Members

  1. case class ArrayTypeValue(paramType: TypeValue) extends TypeValue with Product with Serializable

    Permalink

    Represents a Array[paramType] type.

    Represents a Array[paramType] type.

    Note

    inherited operator has fixed value of "array".

  2. case class MapTypeValue(paramType: TypeValue) extends TypeValue with Product with Serializable

    Permalink

    Represents a Map[String, paramType] type.

    Represents a Map[String, paramType] type.

    Note

    inherited operator has fixed value of "map".

  3. case class OptionTypeValue(paramType: TypeValue) extends TypeValue with Product with Serializable

    Permalink

    Represents an Option[paramType].

    Represents an Option[paramType].

    Note

    inherited operator has fixed value of "option".

  4. case class SimpleTypeValue(codename: String) extends TypeValue with Product with Serializable

    Permalink

    Represents a simple type (Int, String, ...), user defined classes and types which are not Option, Array, Map.

  5. abstract class TypeValue extends AnyRef

    Permalink

    Represents information about type data.

    Represents information about type data. Important to static-typed languages such as scala to inform serializer/deserializer which marshaller/unmarshaller to invoke.

Value Members

  1. object AnyTypeValue extends TypeValue

    Permalink

    Represents an unknown type.

    Represents an unknown type. Evaluating, serializing, deserializing a tree with a leaf node with com.celadari.jsonlogicscala.tree.types.AnyTypeValue as typeOpt parameters throws an exception. Can only be used to manipulate a com.celadari.jsonlogicscala.tree.ValueLogic as temporary scala data structure before setting correct typeOpt parameter.

  2. object ArrayTypeValue extends Serializable

    Permalink

    Companion object that holds implicit writer json and constant codename for com.celadari.jsonlogicscala.tree.types.ArrayTypeValue.

  3. object DefaultTypes

    Permalink

    Contains codename of default types.

  4. object MapTypeValue extends Serializable

    Permalink

    Companion object that holds implicit writer json and constant codename for com.celadari.jsonlogicscala.tree.types.MapTypeValue.

  5. object OptionTypeValue extends Serializable

    Permalink

    Companion object that holds implicit writer json and constant codename for com.celadari.jsonlogicscala.tree.types.OptionTypeValue.

  6. object SimpleTypeValue extends Serializable

    Permalink

    Companion object that holds implicit writer json.

  7. object TypeValue

    Permalink

    Companion object that holds implicit reader and writer json.

    Companion object that holds implicit reader and writer json. Also defines methods serialize/deserialize com.celadari.jsonlogicscala.tree.types.TypeValue to json and vice-versa.

Ungrouped