ImmutableMapConv

given ImmutableMapConv[A]: NativeConverter[Map[String, A]]

Value members

Concrete methods

def fromNativeE(ps: ParseState): Either[String, Map[String, A]]

Inherited methods

def fromJson(json: String): Map[String, A]

Convert a Json String to type A. Returns A, or throws.

Convert a Json String to type A. Returns A, or throws.

Inherited from
NativeConverter
def fromJsonE(json: String): Either[String, Map[String, A]]

Convert a Json String to type A. Returns either A, or a String error.

Convert a Json String to type A. Returns either A, or a String error.

Inherited from
NativeConverter
def fromNative(nativeJs: Any): Map[String, A]

Convert a native Javascript type to Scala.js. Returns A, or throws.

Convert a native Javascript type to Scala.js. Returns A, or throws.

Inherited from
NativeConverter
def fromNativeE(nativeJs: Any): Either[String, Map[String, A]]

Convert a native Javascript type to Scala.js. Returns either A, or a String error.

Convert a native Javascript type to Scala.js. Returns either A, or a String error.

Inherited from
NativeConverter

Extensions

Extensions

extension (m: Map[String, A])
def toNative: Any

Inherited extensions

extension (a: A)
def toJson: String

Convert type A to a JSON string

Convert type A to a JSON string

Inherited from
NativeConverter