NodeValue

zio.blocks.smithy.NodeValue
See theNodeValue companion trait
object NodeValue

Attributes

Companion
trait
Source
NodeValue.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
NodeValue.type

Members list

Type members

Classlikes

final case class Array(values: List[NodeValue]) extends NodeValue

An array value, containing a list of NodeValues.

An array value, containing a list of NodeValues.

Value parameters

values

the list of values in the array

Attributes

Source
NodeValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait NodeValue
class Object
trait Matchable
class Any
Show all
final case class Boolean(value: Boolean) extends NodeValue

A boolean value (true or false).

A boolean value (true or false).

Value parameters

value

the boolean value

Attributes

Source
NodeValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait NodeValue
class Object
trait Matchable
class Any
Show all
case object Null extends NodeValue

The null value, a singleton instance.

The null value, a singleton instance.

Attributes

Source
NodeValue.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait NodeValue
class Object
trait Matchable
class Any
Show all
Self type
Null.type
final case class Number(value: BigDecimal) extends NodeValue

A numeric value, supporting arbitrary precision.

A numeric value, supporting arbitrary precision.

Value parameters

value

the number represented as BigDecimal

Attributes

Source
NodeValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait NodeValue
class Object
trait Matchable
class Any
Show all
final case class Object(fields: List[(String, NodeValue)]) extends NodeValue

An object value, containing a list of key-value pairs.

An object value, containing a list of key-value pairs.

Each field is a tuple of (String, NodeValue).

Value parameters

fields

the list of (key, value) pairs in the object

Attributes

Source
NodeValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait NodeValue
class Object
trait Matchable
class Any
Show all
final case class String(value: String) extends NodeValue

A string value.

A string value.

Value parameters

value

the string content

Attributes

Source
NodeValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait NodeValue
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala