public abstract class JSONObject extends Object implements Map<String,Object>, Cloneable, Serializable
Modifier and Type | Class and Description |
---|---|
static class |
JSONObject.Builder |
Constructor and Description |
---|
JSONObject() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public abstract JSONObject getJSONObject(String key)
public abstract <T> T getObject(String key, TypeReference typeReference)
public abstract byte[] getBytes(String key)
public abstract boolean getBooleanValue(String key)
public abstract byte getByteValue(String key)
public abstract short getShortValue(String key)
public abstract int getIntValue(String key)
public abstract long getLongValue(String key)
public abstract float getFloatValue(String key)
public abstract double getDoubleValue(String key)
public abstract BigDecimal getBigDecimal(String key)
public abstract BigInteger getBigInteger(String key)
public abstract JSONObject fluentPut(String key, Object value)
public abstract JSONObject fluentPutAll(Map<? extends String,? extends Object> m)
public abstract JSONObject fluentClear()
public abstract <T> T toJavaObject(Class<T> clazz)
public abstract String toJSONString()
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.