Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
static JsonObject |
createNew() |
Set<Map.Entry<String,Object>> |
entrySet() |
static JsonObject |
fromMap(Map<String,Object> map) |
static JsonObject |
fromObject(Object o) |
static JsonObject |
fromString(String json) |
Object |
get(Object key) |
boolean |
isEmpty() |
Set<String> |
keySet() |
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends String,?> m) |
Object |
remove(Object key) |
int |
size() |
String |
toString() |
Collection<Object> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public static JsonObject fromString(String json) throws JsonConversionException
JsonConversionException
public static JsonObject fromObject(Object o) throws JsonConversionException
JsonConversionException
public static JsonObject fromMap(Map<String,Object> map)
public static JsonObject createNew()
public boolean containsKey(Object key)
containsKey
in interface Map<String,Object>
public boolean containsValue(Object value)
containsValue
in interface Map<String,Object>
Copyright © 2020 JBoss, a division of Red Hat. All rights reserved.