public abstract class JsonLikeValue extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JsonLikeValue.ScalarType |
static class |
JsonLikeValue.ValueType |
| Modifier and Type | Field and Description |
|---|---|
static JsonLikeValue |
FALSE |
static JsonLikeValue |
NULL |
static JsonLikeValue |
TRUE |
| Constructor and Description |
|---|
JsonLikeValue() |
| Modifier and Type | Method and Description |
|---|---|
static JsonLikeArray |
asArray(JsonLikeValue element) |
static boolean |
asBoolean(JsonLikeValue element) |
static JsonLikeObject |
asObject(JsonLikeValue element) |
static String |
asString(JsonLikeValue element) |
JsonLikeArray |
getAsArray() |
boolean |
getAsBoolean() |
Number |
getAsNumber() |
JsonLikeObject |
getAsObject() |
String |
getAsString() |
abstract JsonLikeValue.ScalarType |
getDataType() |
abstract JsonLikeValue.ValueType |
getJsonType() |
abstract Object |
getValue() |
boolean |
isArray() |
boolean |
isNull() |
boolean |
isNumber() |
boolean |
isObject() |
boolean |
isScalar() |
boolean |
isString() |
public static final JsonLikeValue NULL
public static final JsonLikeValue TRUE
public static final JsonLikeValue FALSE
public JsonLikeValue()
public abstract JsonLikeValue.ValueType getJsonType()
public abstract JsonLikeValue.ScalarType getDataType()
public boolean isArray()
public boolean isObject()
public boolean isScalar()
public boolean isString()
public boolean isNumber()
public boolean isNull()
public JsonLikeArray getAsArray()
public JsonLikeObject getAsObject()
public String getAsString()
public Number getAsNumber()
public boolean getAsBoolean()
public static JsonLikeArray asArray(JsonLikeValue element)
public static JsonLikeObject asObject(JsonLikeValue element)
public static String asString(JsonLikeValue element)
public static boolean asBoolean(JsonLikeValue element)
Copyright © 2014–2017 University Health Network. All rights reserved.