DataApi

scalus.builtin.DataApi
trait DataApi

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Data

Members list

Value members

Concrete methods

def fromJson(json: String): Data
def toJson(data: Data, indent: Int): String

Extensions

Extensions

extension [A <: Data](a: A)
inline def toJson: String
extension [A <: Data](a: A)(implicit evidence$1: Writer[A])
inline def toJsonIndented: String
extension (inline data: Data)
inline def field[A](inline expr: A => Any): Data
inline def toB: ByteString
inline def toBigInt: BigInt
inline def toByteString: ByteString
inline def toConstr: Pair[BigInt, List[Data]]
inline def toI: BigInt
inline def toList: List[Data]
inline def toMap: List[Pair[Data, Data]]