Packages

p

fabric

package fabric

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. fabric
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Arr(value: Vector[Json]) extends AnyVal with Json with Product with Serializable

    Arr represents an array (Vector[Json])

  2. final case class Bool(value: Boolean) extends AnyVal with Json with Product with Serializable

    Bool represents a boolean value

  3. case class ConversionException(message: String) extends RuntimeException with Product with Serializable
  4. sealed trait Json extends Any

    Json represents the base sealed trait for all representable types in Fabric.

  5. sealed trait JsonType[T] extends AnyRef

    JsonType represents the possible types of Json

  6. sealed trait MergeType extends AnyRef

    MergeType is used to determine how merging of two Values should occur

  7. sealed trait Null extends Json
  8. sealed trait Num extends Json
  9. case class NumDec(value: BigDecimal) extends Num with Product with Serializable

    NumDec represents a numeric value and wraps a BigDecimal

  10. case class NumInt(value: Long) extends Num with Product with Serializable

    NumInt represents a numeric value and wraps a Long

  11. final class Obj extends AnyVal with Json

    Obj represents a Map of key-value pairs (String, Json)

  12. final case class Path(entries: List[String]) extends AnyVal with Product with Serializable

    Path is a convenience wrapper to represent paths for lookups or changes in Json

  13. final case class Str(value: String) extends AnyVal with Json with Product with Serializable

    Str represents a String

Value Members

  1. def arr(values: Json*): Arr

    Create an Arr from the params

  2. implicit def bool(b: Boolean): Bool

    Create a Bool from the supplied Boolean

  3. implicit def doubles2Arr(seq: Seq[Double]): Arr
  4. implicit def ints2Arr(seq: Seq[Int]): Arr
  5. implicit def map2Obj(map: Map[String, Json]): Obj
  6. implicit def num(value: Long): Num
  7. implicit def num(value: Int): Num
  8. implicit def num(value: BigDecimal): Num

    Create a Num from the supplied BigDecimal

  9. implicit def num(value: Double): Num

    Create a Num from the supplied Double

  10. def num(value: String): Num

    Create a Num from the supplied String

  11. def obj(params: (String, Json)*): Obj

    Create an Obj from the params

  12. implicit def seq2Arr(seq: Seq[Json]): Arr
  13. implicit def str(s: String): Str

    Create a Str from the supplied String

  14. implicit def string2Path(s: String): Path
  15. object Cryo
  16. object Json
  17. object JsonType extends Product with Serializable
  18. object MergeType
  19. object Null extends Null

    Null represents a null Json

  20. object Obj
  21. object Path extends Serializable
  22. object Str extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped