zio.blocks.config.hocon.HoconValue
See theHoconValue companion trait
object HoconValue
Attributes
- Companion
- trait
- Source
- HoconValue.scala
- Graph
-
- Supertypes
- Self type
-
HoconValue.type
Members list
Type members
Classlikes
final case class Arr(elements: Seq[HoconValue]) extends HoconValue
Attributes
- Source
- HoconValue.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait HoconValueclass Objecttrait Matchableclass AnyShow all
final case class Bool(value: Boolean) extends HoconValue
Attributes
- Source
- HoconValue.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait HoconValueclass Objecttrait Matchableclass AnyShow all
case object Null extends HoconValue
Attributes
- Source
- HoconValue.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait HoconValueclass Objecttrait Matchableclass AnyShow all
- Self type
-
Null.type
final case class Num(value: Double) extends HoconValue
Attributes
- Source
- HoconValue.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait HoconValueclass Objecttrait Matchableclass AnyShow all
final case class Obj(fields: Map[String, HoconValue]) extends HoconValue
Attributes
- Source
- HoconValue.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait HoconValueclass Objecttrait Matchableclass AnyShow all
final case class Str(value: String) extends HoconValue
Attributes
- Source
- HoconValue.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait HoconValueclass Objecttrait Matchableclass AnyShow all
Inherited and Abstract types
The names of the product elements.
The name of the type.
Value members
Concrete methods
Deep-merge two HoconValues. When both are Obj, fields are merged recursively with the right side winning on conflicts. Otherwise the right side replaces the left.
Deep-merge two HoconValues. When both are Obj, fields are merged recursively with the right side winning on conflicts. Otherwise the right side replaces the left.
Attributes
- Source
- HoconValue.scala
Flatten a HoconValue into a map of dot-separated key-value pairs. Objects are recursively flattened. Arrays are indexed numerically (e.g. "arr.0", "arr.1"). Null values are omitted.
Flatten a HoconValue into a map of dot-separated key-value pairs. Objects are recursively flattened. Arrays are indexed numerically (e.g. "arr.0", "arr.1"). Null values are omitted.
Attributes
- Source
- HoconValue.scala
In this article