public class Json
extends java.lang.Object
| Constructor and Description |
|---|
Json() |
| Modifier and Type | Method and Description |
|---|---|
static Json |
array(Json... values) |
java.util.List<Json> |
asArray() |
boolean |
asBoolean() |
double |
asDouble() |
long |
asLong() |
java.util.Map<java.lang.String,Json> |
asObject() |
java.lang.String |
asString() |
protected static Json |
create(org.zalando.flatjson.Overlay overlay,
int element) |
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
boolean |
isArray() |
boolean |
isBoolean() |
boolean |
isNull() |
boolean |
isNumber() |
boolean |
isObject() |
boolean |
isString() |
static Json |
object() |
static Json |
parse(java.lang.String raw) |
static Json |
value(boolean value) |
static Json |
value(double value) |
static Json |
value(long value) |
static Json |
value(java.lang.String value) |
protected static Json create(org.zalando.flatjson.Overlay overlay, int element)
public static Json parse(java.lang.String raw)
public static Json value(boolean value)
public static Json value(long value)
public static Json value(double value)
public static Json value(java.lang.String value)
public static Json object()
public boolean isNull()
public boolean isBoolean()
public boolean isNumber()
public boolean isString()
public boolean isArray()
public boolean isObject()
public boolean asBoolean()
public long asLong()
public double asDouble()
public java.lang.String asString()
public java.util.List<Json> asArray()
public java.util.Map<java.lang.String,Json> asObject()
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object