fabric

package fabric

Members list

Packages

package fabric.define
package fabric.filter
package fabric.merge
package fabric.rw
package fabric.search

Type members

Classlikes

case class Arr(value: Vector[Json], reference: Option[Any]) extends Json

Arr represents an array (Vector[Json])

Arr represents an array (Vector[Json])

Attributes

Source
Json.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Json
class Object
trait Matchable
class Any
Show all
case class Bool(value: Boolean, reference: Option[Any]) extends Json

Bool represents a boolean value

Bool represents a boolean value

Attributes

Source
Json.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Json
class Object
trait Matchable
class Any
Show all
case class ConversionException(message: String) extends RuntimeException

Attributes

Source
ConversionException.scala
Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
object Cryo

Attributes

Source
Cryo.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Cryo.type
sealed trait Json

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

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

Attributes

Companion
object
Source
Json.scala
Supertypes
class Any
Known subtypes
class Arr
class Bool
trait Null
object Null
trait Num
class NumDec
class NumInt
class Obj
class Str
Show all
object Json

Attributes

Companion
trait
Source
Json.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Json.type
final case class JsonPath(entries: List[JsonPathEntry]) extends AnyVal

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

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

Attributes

Companion
object
Source
JsonPath.scala
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
object JsonPath

Attributes

Companion
class
Source
JsonPath.scala
Supertypes
class Object
trait Matchable
class Any
Self type
JsonPath.type
sealed trait JsonPathEntry

Attributes

Companion
object
Source
JsonPathEntry.scala
Supertypes
class Any
Known subtypes
class Indexed
class Named
object JsonPathEntry

Attributes

Companion
trait
Source
JsonPathEntry.scala
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait JsonType[T]

JsonType represents the possible types of Json

JsonType represents the possible types of Json

Attributes

Companion
object
Source
JsonType.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Arr
object Bool
object Null
object Num
object NumDec
object NumInt
object Obj
object Str
Show all
case object JsonType

Attributes

Companion
trait
Source
JsonType.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
JsonType.type
trait JsonWrapper

JsonWrapper mix-in provides insight to Reader and Writer generation to synchronize to and from the json value.

JsonWrapper mix-in provides insight to Reader and Writer generation to synchronize to and from the json value. When writing to a type, the json value is provided a reference to the original Json used to build it. When reading into Json, the additional values in the json are retained, although the values in the case class of the same name will overwrite those within the json.

Attributes

Source
JsonWrapper.scala
Supertypes
class Object
trait Matchable
class Any
sealed trait MergeType

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

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

Attributes

Companion
object
Source
MergeType.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Add
object Overwrite
object MergeType

Attributes

Companion
trait
Source
MergeType.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
MergeType.type
sealed trait Null extends Json

Attributes

Companion
object
Source
Json.scala
Supertypes
trait Json
class Object
trait Matchable
class Any
Known subtypes
object Null
object Null extends Null

Null represents a null Json

Null represents a null Json

Attributes

Companion
trait
Source
Json.scala
Supertypes
trait Sum
trait Mirror
trait Null
trait Json
class Object
trait Matchable
class Any
Show all
Self type
Null.type
sealed trait Num extends Json

Attributes

Source
Json.scala
Supertypes
trait Json
class Object
trait Matchable
class Any
Known subtypes
class NumDec
class NumInt
case class NumDec(value: BigDecimal, reference: Option[Any]) extends Num

NumDec represents a numeric value and wraps a BigDecimal

NumDec represents a numeric value and wraps a BigDecimal

Attributes

Source
Json.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Num
trait Json
class Object
trait Matchable
class Any
Show all
case class NumInt(value: Long, reference: Option[Any]) extends Num

NumInt represents a numeric value and wraps a Long

NumInt represents a numeric value and wraps a Long

Attributes

Source
Json.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Num
trait Json
class Object
trait Matchable
class Any
Show all
final class Obj extends Json

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

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

Attributes

Companion
object
Source
Json.scala
Supertypes
trait Json
class Object
trait Matchable
class Any
object Obj

Attributes

Companion
class
Source
Json.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Obj.type
case class Str(value: String, reference: Option[Any]) extends Json

Str represents a String

Str represents a String

Attributes

Companion
object
Source
Json.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Json
class Object
trait Matchable
class Any
Show all
object Str

Attributes

Companion
class
Source
Json.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Str.type

Value members

Concrete methods

def arr(values: Json*): Arr

Create an Arr from the params

Create an Arr from the params

Attributes

Source
package.scala
def num(value: String): Num

Create a Num from the supplied String

Create a Num from the supplied String

Attributes

Source
package.scala
def obj(params: (String, Json)*): Obj

Create an Obj from the params

Create an Obj from the params

Attributes

Source
package.scala

Implicits

Implicits

implicit def bool(b: Boolean): Bool

Create a Bool from the supplied Boolean

Create a Bool from the supplied Boolean

Attributes

Source
package.scala
implicit def doubles2Arr(seq: Seq[Double]): Arr

Attributes

Source
package.scala
implicit def int2PathEntry(index: Int): JsonPathEntry

Attributes

Source
package.scala
implicit def ints2Arr(seq: Seq[Int]): Arr

Attributes

Source
package.scala
implicit def map2Obj(map: Map[String, Json]): Obj

Attributes

Source
package.scala
implicit def num(value: Double): Num

Create a Num from the supplied Double

Create a Num from the supplied Double

Attributes

Source
package.scala
implicit def num(value: BigDecimal): Num

Create a Num from the supplied BigDecimal

Create a Num from the supplied BigDecimal

Attributes

Source
package.scala
implicit def num(value: Int): Num

Attributes

Source
package.scala
implicit def num(value: Long): Num

Attributes

Source
package.scala
implicit def seq2Arr(seq: Seq[Json]): Arr

Attributes

Source
package.scala
implicit def str(s: String): Json

Create a Str from the supplied String

Create a Str from the supplied String

Attributes

Source
package.scala
implicit def string2Path(s: String): JsonPath

Attributes

Source
package.scala
implicit def string2PathEntry(name: String): JsonPathEntry

Attributes

Source
package.scala