IntConv

object IntConv extends NativeConverter[Int]
trait NativeConverter[Int]
class Object
trait Matchable
class Any
IntConv.type

Value members

Concrete methods

def fromNative(ps: ParseState): Int

Inherited methods

def fromJson(json: String): Int

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): Int

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 (i: Int)
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