fabric
package fabric
- Alphabetic
- By Inheritance
- fabric
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
final
case class
Arr(value: Vector[Value]) extends AnyVal with Value with Product with Serializable
Arr represents an array (Vector[Value])
-
final
case class
Bool(value: Boolean) extends AnyVal with Value with Product with Serializable
Bool represents a boolean value
-
sealed
trait
MergeType extends AnyRef
MergeType is used to determine how merging of two Values should occur
-
final
case class
Num(value: BigDecimal) extends AnyVal with Value with Product with Serializable
Num represents a numeric value and wraps a BigDecimal
-
final
case class
Obj(value: Map[String, Value]) extends AnyVal with Value with Product with Serializable
Obj represents a Map of key-value pairs (String, Value)
-
final
class
Path extends AnyVal
Path is a convenience wrapper to represent paths for lookups or changes in Value
-
final
case class
Str(value: String) extends AnyVal with Value with Product with Serializable
Str represents a String
-
sealed
trait
Value extends Any
Value represents the base sealed trait for all representable types in fabric.
-
sealed
trait
ValueType extends AnyRef
ValueType represents the possible types of Value
Value Members
-
def
arr(values: Value*): Arr
Create an Arr from the params
-
implicit
def
bool(b: Boolean): Bool
Create a Bool from the supplied Boolean
- implicit def doubles2Arr(seq: Seq[Double]): Arr
- implicit def ints2Arr(seq: Seq[Int]): Arr
- implicit def map2Obj(map: Map[String, Value]): Obj
-
implicit
def
num(value: BigDecimal): Num
Create a Num from the supplied BigDecimal
-
implicit
def
num(value: Double): Num
Create a Num from the supplied Double
-
def
num(value: String): Num
Create a Num from the supplied String
-
def
obj(params: (String, Value)*): Obj
Create an Obj from the params
- implicit def seq2Arr(seq: Seq[Value]): Arr
-
implicit
def
str(s: String): Str
Create a Str from the supplied String
- implicit def string2Path(s: String): Path
- object MergeType
-
object
Null extends Value
Null represents a null Value
- object Obj extends Serializable
- object Path
- object Str extends Serializable
- object Value
- object ValueType extends Product with Serializable