Package | Description |
---|---|
javax.json |
Provides an object model API to process JSON.
|
javax.json.spi |
Service Provider Interface (SPI) to plug in implementations for
JSON processing objects.
|
javax.json.stream |
Provides a streaming API to parse and generate
JSON.
|
org.apache.activemq.artemis.api.core | |
org.apache.activemq.artemis.core.security | |
org.apache.activemq.artemis.core.transaction | |
org.apache.activemq.artemis.utils | |
org.jboss.resteasy.plugins.providers.jsonp |
Modifier and Type | Field and Description |
---|---|
static JsonObject |
JsonValue.EMPTY_JSON_OBJECT
The empty JSON object.
|
Modifier and Type | Method and Description |
---|---|
default JsonObject |
JsonValue.asJsonObject()
Return the JsonValue as a JsonObject
|
JsonObject |
JsonObjectBuilder.build()
Returns the JSON object associated with this object builder.
|
JsonObject |
JsonArray.getJsonObject(int index)
Returns the object value at the specified position in this array.
|
JsonObject |
JsonObject.getJsonObject(String name)
Returns the object value to which the specified name is mapped.
|
JsonObject |
JsonReader.readObject()
Returns a JSON object that is represented in
the input source.
|
Modifier and Type | Method and Description |
---|---|
static JsonObjectBuilder |
Json.createObjectBuilder(JsonObject object)
Creates a JSON object builder, initialized with the specified object.
|
default JsonObjectBuilder |
JsonBuilderFactory.createObjectBuilder(JsonObject object)
Creates a
JsonObjectBuilder instance, initialized with an object. |
void |
JsonWriter.writeObject(JsonObject object)
Writes the specified JSON
object to the output
source. |
Modifier and Type | Method and Description |
---|---|
JsonObjectBuilder |
JsonProvider.createObjectBuilder(JsonObject object)
Creates a JSON object builder, initialized with the specified object.
|
Modifier and Type | Method and Description |
---|---|
default JsonObject |
JsonParser.getObject()
Returns a
JsonObject and advances the parser to the
corresponding END_OBJECT . |
Modifier and Type | Method and Description |
---|---|
static Collector<JsonValue,Map<String,JsonArrayBuilder>,JsonObject> |
JsonCollectors.groupingBy(Function<JsonValue,String> classifier)
Constructs a
java.util.stream.Collector that implements a "group by" operation on the
input JsonValue elements. |
static <T extends JsonArrayBuilder> |
JsonCollectors.groupingBy(Function<JsonValue,String> classifier,
Collector<JsonValue,T,JsonArray> downstream)
Constructs a
java.util.stream.Collector that implements a "group by" operation on the
input JsonValue elements. |
static Collector<Map.Entry<String,JsonValue>,JsonObjectBuilder,JsonObject> |
JsonCollectors.toJsonObject()
Constructs a
java.util.stream.Collector that accumulates the input Map.Entry<String,JsonValue>
elements into a JsonObject . |
static Collector<JsonValue,JsonObjectBuilder,JsonObject> |
JsonCollectors.toJsonObject(Function<JsonValue,String> keyMapper,
Function<JsonValue,JsonValue> valueMapper)
Constructs a
java.util.stream.Collector that accumulates the input JsonValue
elements into a JsonObject . |
Modifier and Type | Method and Description |
---|---|
JsonParser |
JsonParserFactory.createParser(JsonObject obj)
Creates a JSON parser from the specified JSON object.
|
Modifier and Type | Method and Description |
---|---|
static JsonObject |
JsonUtil.readJsonObject(String jsonString) |
JsonObject |
TransportConfiguration.toJson() |
static JsonObject |
JsonUtil.toJsonObject(Map<String,?> map) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
Role.toJson() |
Modifier and Type | Method and Description |
---|---|
JsonObject |
TransactionDetail.toJSON() |
Modifier and Type | Method and Description |
---|---|
static JsonObject |
JsonLoader.readObject(Reader reader) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
JsonObjectProvider.readFrom(Class<JsonObject> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Modifier and Type | Method and Description |
---|---|
long |
JsonObjectProvider.getSize(JsonObject jsonObject,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
void |
JsonObjectProvider.writeTo(JsonObject jsonObject,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
JsonObjectProvider.readFrom(Class<JsonObject> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.