JsonValue

marola.json.JsonValue
See theJsonValue companion enum
object JsonValue

Attributes

Companion
enum
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
JsonValue.type

Members list

Type members

Classlikes

final case class JsonParseException(message: String) extends Exception

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
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
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def arr(items: JsonValue*): JsonValue
def bool(value: Boolean): JsonValue
def num(value: Double): JsonValue
def obj(fields: (String, JsonValue)*): JsonValue
def parse(input: String): JsonValue

Parses input into a JsonValue, throwing JsonParseException on malformed input.

Parses input into a JsonValue, throwing JsonParseException on malformed input.

Attributes

def str(value: String): JsonValue

Givens

Givens