public abstract class JsonValue extends Object
JsonObject or a JsonArray.| Modifier and Type | Field and Description |
|---|---|
static JsonNull |
NULL
Represents a Json "null".
|
| Constructor and Description |
|---|
JsonValue() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkType(Object item)
Helper method to check if the given item is a supported JSON item.
|
static JsonArray |
ja()
Static factory method to create an empty
JsonArray. |
static JsonObject |
jo()
Static factory method to create an empty
JsonObject. |
public static JsonNull NULL
public static JsonObject jo()
JsonObject.JsonObject.public static JsonArray ja()
JsonArray.JsonArray.public static boolean checkType(Object item)
item - the value to check.Copyright © 2015 Couchbase, Inc.