org.sigilaris.core.codec.json.JsonValue
See theJsonValue companion enum
object JsonValue
Attributes
- Companion
- enum
- Source
- JsonValue.scala
- Graph
-
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
JsonValue.type
Members list
Type members
Inherited and Abstract types
The names of the product elements
The name of the type
Value members
Concrete methods
Constructs a JSON array from values.
Constructs a JSON array from values.
val numbers = JsonValue.arr(JNumber(1), JNumber(2), JNumber(3))
Attributes
- Source
- JsonValue.scala
Convenience alias for JNull.
Constructs a JSON object from field pairs.
Constructs a JSON object from field pairs.
val person = JsonValue.obj(
"name" -> JString("Alice"),
"age" -> JNumber(30),
)
Attributes
- Source
- JsonValue.scala
In this article