Uses of Interface
jakarta.json.JsonObject
Packages that use JsonObject
Package
Description
Provides an object model API to process JSON.
Service Provider Interface (SPI) to plug in implementations for
JSON processing objects.
Provides a streaming API to parse and generate
JSON.
-
Uses of JsonObject in jakarta.json
Fields in jakarta.json declared as JsonObjectModifier and TypeFieldDescriptionstatic final JsonObjectJsonValue.EMPTY_JSON_OBJECTThe empty JSON object.Methods in jakarta.json that return JsonObjectModifier and TypeMethodDescriptiondefault JsonObjectJsonValue.asJsonObject()Return the JsonValue as a JsonObjectJsonObjectBuilder.build()Returns the JSON object associated with this object builder.JsonArray.getJsonObject(int index) Returns the object value at the specified position in this array.JsonObject.getJsonObject(String name) Returns the object value to which the specified name is mapped.JsonReader.readObject()Returns a JSON object that is represented in the input source.Methods in jakarta.json with parameters of type JsonObjectModifier and TypeMethodDescriptionstatic JsonObjectBuilderJson.createObjectBuilder(JsonObject object) Creates a JSON object builder, initialized with the specified object.default JsonObjectBuilderJsonBuilderFactory.createObjectBuilder(JsonObject object) Creates aJsonObjectBuilderinstance, initialized with an object.voidJsonWriter.writeObject(JsonObject object) Writes the specified JSONobjectto the output source. -
Uses of JsonObject in jakarta.json.spi
Methods in jakarta.json.spi with parameters of type JsonObjectModifier and TypeMethodDescriptionJsonProvider.createObjectBuilder(JsonObject object) Creates a JSON object builder, initialized with the specified object. -
Uses of JsonObject in jakarta.json.stream
Methods in jakarta.json.stream that return JsonObjectModifier and TypeMethodDescriptiondefault JsonObjectJsonParser.getObject()Returns aJsonObjectand advances the parser to the correspondingEND_OBJECT.Methods in jakarta.json.stream that return types with arguments of type JsonObjectModifier and TypeMethodDescriptionstatic Collector<JsonValue,Map<String, JsonArrayBuilder>, JsonObject> JsonCollectors.groupingBy(Function<JsonValue, String> classifier) Constructs ajava.util.stream.Collectorthat implements a "group by" operation on the inputJsonValueelements.static <T extends JsonArrayBuilder>
Collector<JsonValue,Map<String, T>, JsonObject> JsonCollectors.groupingBy(Function<JsonValue, String> classifier, Collector<JsonValue, T, JsonArray> downstream) Constructs ajava.util.stream.Collectorthat implements a "group by" operation on the inputJsonValueelements.JsonCollectors.toJsonObject()Constructs ajava.util.stream.Collectorthat accumulates the inputMap.Entry<String,JsonValue>elements into aJsonObject.JsonCollectors.toJsonObject(Function<JsonValue, String> keyMapper, Function<JsonValue, JsonValue> valueMapper) Constructs ajava.util.stream.Collectorthat accumulates the inputJsonValueelements into aJsonObject.Methods in jakarta.json.stream with parameters of type JsonObjectModifier and TypeMethodDescriptionJsonParserFactory.createParser(JsonObject obj) Creates a JSON parser from the specified JSON object. -
Uses of JsonObject in jakarta.security.enterprise.identitystore.openid
Methods in jakarta.security.enterprise.identitystore.openid that return JsonObjectModifier and TypeMethodDescriptionOpenIdContext.getClaimsJson()Gets the User Claims that were received from the userinfo endpointOpenIdContext.getProviderMetadata() -
Uses of JsonObject in org.eclipse.parsson
Methods in org.eclipse.parsson that return JsonObjectMethods in org.eclipse.parsson with parameters of type JsonObject -
Uses of JsonObject in org.jboss.resteasy.plugins.providers.jsonp
Methods in org.jboss.resteasy.plugins.providers.jsonp that return JsonObjectModifier and TypeMethodDescriptionJsonObjectProvider.readFrom(Class<JsonObject> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) Methods in org.jboss.resteasy.plugins.providers.jsonp with parameters of type JsonObjectModifier and TypeMethodDescriptionlongJsonObjectProvider.getSize(JsonObject jsonObject, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) voidJsonObjectProvider.writeTo(JsonObject jsonObject, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) Method parameters in org.jboss.resteasy.plugins.providers.jsonp with type arguments of type JsonObjectModifier and TypeMethodDescriptionJsonObjectProvider.readFrom(Class<JsonObject> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, String> httpHeaders, InputStream entityStream) -
Uses of JsonObject in org.wildfly.extension.messaging.activemq.jms
Methods in org.wildfly.extension.messaging.activemq.jms that return JsonObjectModifier and TypeMethodDescriptionJMSServerControlHandler.enrich(JsonObject source, String key, String value) Methods in org.wildfly.extension.messaging.activemq.jms with parameters of type JsonObjectModifier and TypeMethodDescriptionJMSServerControlHandler.enrich(JsonObject source, String key, String value) -
Uses of JsonObject in org.wildfly.security.json.util
Methods in org.wildfly.security.json.util with parameters of type JsonObjectModifier and TypeMethodDescriptionstatic AttributesJsonUtil.toAttributes(JsonObject claims) Returns aAttributesinstance based on the givenJsonObject.