fabric

package fabric

Members list

Concise view

Type members

Classlikes

final case class Arr(value: Vector[Json]) extends AnyVal with Json

Arr represents an array (Vector[Json])

Arr represents an array (Vector[Json])

Attributes

Source:
Json.scala
Graph
Supertypes
trait Product
trait Equals
trait Json
class AnyVal
trait Matchable
class Any
final case class Bool(value: Boolean) extends AnyVal with Json

Bool represents a boolean value

Bool represents a boolean value

Attributes

Source:
Json.scala
Graph
Supertypes
trait Product
trait Equals
trait Json
class AnyVal
trait Matchable
class Any
case class ConversionException(message: String) extends RuntimeException

Attributes

Source:
ConversionException.scala
Graph
Supertypes
trait Product
trait Equals
class Exception
class Throwable
class Object
trait Matchable
class Any
object Cryo

Attributes

Source:
Cryo.scala
Graph
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
Graph
Supertypes
class Any
Known subtypes
class Arr
class Bool
trait Null
object Null.type
trait Num
class NumDec
class NumInt
class Obj
class Str
object Json

Attributes

Companion:
trait
Source:
Json.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Json.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
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Arr.type
object Bool.type
object Null.type
object Num.type
object NumDec.type
object NumInt.type
object Obj.type
object Str.type
case object JsonType

Attributes

Companion:
trait
Source:
JsonType.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
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
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Add.type
object ErrorOnDuplicate.type
object Overwrite.type
object MergeType

Attributes

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

Attributes

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

Null represents a null Json

Null represents a null Json

Attributes

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

Attributes

Source:
Json.scala
Graph
Supertypes
trait Json
class Any
Known subtypes
class NumDec
class NumInt
case class NumDec(value: BigDecimal) extends Num

NumDec represents a numeric value and wraps a BigDecimal

NumDec represents a numeric value and wraps a BigDecimal

Attributes

Source:
Json.scala
Graph
Supertypes
trait Product
trait Equals
trait Num
trait Json
class Object
trait Matchable
class Any
case class NumInt(value: Long) extends Num

NumInt represents a numeric value and wraps a Long

NumInt represents a numeric value and wraps a Long

Attributes

Source:
Json.scala
Graph
Supertypes
trait Product
trait Equals
trait Num
trait Json
class Object
trait Matchable
class Any
final class Obj extends AnyVal with 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
Graph
Supertypes
trait Json
class AnyVal
trait Matchable
class Any
object Obj

Attributes

Companion:
class
Source:
Json.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Obj.type
final case class Path(entries: List[PathEntry]) 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:
Path.scala
Graph
Supertypes
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
object Path

Attributes

Companion:
class
Source:
Path.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Path.type
sealed trait PathEntry

Attributes

Companion:
object
Source:
Path.scala
Graph
Supertypes
class Any
Known subtypes
class Indexed
class Named
object PathEntry

Attributes

Companion:
trait
Source:
Path.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
final case class Str(value: String) extends AnyVal with Json

Str represents a String

Str represents a String

Attributes

Companion:
object
Source:
Json.scala
Graph
Supertypes
trait Product
trait Equals
trait Json
class AnyVal
trait Matchable
class Any
object Str

Attributes

Companion:
class
Source:
Json.scala
Graph
Supertypes
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): PathEntry

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): Str

Create a Str from the supplied String

Create a Str from the supplied String

Attributes

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

Attributes

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

Attributes

Source:
package.scala