Uses of Interface
jakarta.json.JsonObject
-
Packages that use JsonObject Package Description jakarta.json Provides an object model API to process JSON.jakarta.json.spi Service Provider Interface (SPI) to plug in implementations for JSON processing objects.jakarta.json.stream Provides a streaming API to parse and generate JSON.jakarta.security.enterprise.identitystore.openid -
-
Uses of JsonObject in jakarta.json
Fields in jakarta.json declared as JsonObject Modifier and Type Field Description static JsonObject
JsonValue. EMPTY_JSON_OBJECT
The empty JSON object.Methods in jakarta.json that return JsonObject Modifier and Type Method Description default JsonObject
JsonValue. asJsonObject()
Return the JsonValue as a JsonObjectJsonObject
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.Methods in jakarta.json with parameters of type JsonObject Modifier and Type Method Description static JsonObjectBuilder
Json. createObjectBuilder(JsonObject object)
Creates a JSON object builder, initialized with the specified object.default JsonObjectBuilder
JsonBuilderFactory. createObjectBuilder(JsonObject object)
Creates aJsonObjectBuilder
instance, initialized with an object.void
JsonWriter. writeObject(JsonObject object)
Writes the specified JSONobject
to the output source. -
Uses of JsonObject in jakarta.json.spi
Methods in jakarta.json.spi with parameters of type JsonObject Modifier and Type Method Description JsonObjectBuilder
JsonProvider. 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 JsonObject Modifier and Type Method Description default JsonObject
JsonParser. getObject()
Returns aJsonObject
and advances the parser to the correspondingEND_OBJECT
.Methods in jakarta.json.stream that return types with arguments of type JsonObject Modifier and Type Method Description static Collector<JsonValue,Map<String,JsonArrayBuilder>,JsonObject>
JsonCollectors. groupingBy(Function<JsonValue,String> classifier)
Constructs ajava.util.stream.Collector
that implements a "group by" operation on the inputJsonValue
elements.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.Collector
that implements a "group by" operation on the inputJsonValue
elements.static Collector<Map.Entry<String,JsonValue>,JsonObjectBuilder,JsonObject>
JsonCollectors. toJsonObject()
Constructs ajava.util.stream.Collector
that accumulates the inputMap.Entry<String,JsonValue>
elements into aJsonObject
.static Collector<JsonValue,JsonObjectBuilder,JsonObject>
JsonCollectors. toJsonObject(Function<JsonValue,String> keyMapper, Function<JsonValue,JsonValue> valueMapper)
Constructs ajava.util.stream.Collector
that accumulates the inputJsonValue
elements into aJsonObject
.Methods in jakarta.json.stream with parameters of type JsonObject Modifier and Type Method Description JsonParser
JsonParserFactory. 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 JsonObject Modifier and Type Method Description JsonObject
OpenIdContext. getClaimsJson()
Gets the User Claims that were received from the userinfo endpointJsonObject
OpenIdContext. getProviderMetadata()
-