public abstract class JSONEither extends Object
This is looking suspiciously close to the JSONString extends JSONValue
thing that I dislike
Constructor and Description |
---|
JSONEither() |
Modifier and Type | Method and Description |
---|---|
static JSONEither |
apply(boolean x) |
static JSONEither |
apply(scala.collection.immutable.Map<String,JSONEither> x) |
static JSONEither |
apply(Number x) |
static JSONEither |
apply(scala.collection.immutable.Seq<JSONEither> x) |
static JSONEither |
apply(String x) |
static JSONEither |
getNull() |
boolean |
isNull() |
abstract boolean |
toBool() |
double |
toDouble() |
int |
toInt() |
abstract scala.collection.immutable.Map<String,JSONEither> |
toMap() |
abstract Number |
toNumber() |
abstract scala.collection.immutable.Seq<JSONEither> |
toSeq() |
abstract String |
toString() |
public static JSONEither apply(Number x)
public static JSONEither apply(String x)
public static JSONEither apply(boolean x)
public static JSONEither apply(scala.collection.immutable.Seq<JSONEither> x)
public static JSONEither apply(scala.collection.immutable.Map<String,JSONEither> x)
public static JSONEither getNull()
public abstract scala.collection.immutable.Map<String,JSONEither> toMap()
public abstract scala.collection.immutable.Seq<JSONEither> toSeq()
public abstract Number toNumber()
public abstract boolean toBool()
public boolean isNull()
public int toInt()
public double toDouble()