Uses of Interface
javax.json.JsonObject
-
Packages that use JsonObject 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. -
-
Uses of JsonObject in javax.json
Fields in javax.json declared as JsonObject Modifier and Type Field Description static JsonObjectJsonValue. EMPTY_JSON_OBJECTThe empty JSON object.Methods in javax.json that return JsonObject Modifier and Type Method Description default JsonObjectJsonValue. asJsonObject()Return the JsonValue as a JsonObjectJsonObjectJsonObjectBuilder. build()Returns the JSON object associated with this object builder.JsonObjectJsonArray. getJsonObject(int index)Returns the object value at the specified position in this array.JsonObjectJsonObject. getJsonObject(String name)Returns the object value to which the specified name is mapped.JsonObjectJsonReader. readObject()Returns a JSON object that is represented in the input source.Methods in javax.json with parameters of type JsonObject Modifier and Type Method Description static 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 javax.json.spi
Methods in javax.json.spi with parameters of type JsonObject Modifier and Type Method Description JsonObjectBuilderJsonProvider. createObjectBuilder(JsonObject object)Creates a JSON object builder, initialized with the specified object. -
Uses of JsonObject in javax.json.stream
Methods in javax.json.stream that return JsonObject Modifier and Type Method Description default JsonObjectJsonParser. getObject()Returns aJsonObjectand advances the parser to the correspondingEND_OBJECT.Methods in javax.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.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.static Collector<Map.Entry<String,JsonValue>,JsonObjectBuilder,JsonObject>JsonCollectors. toJsonObject()Constructs ajava.util.stream.Collectorthat 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.Collectorthat accumulates the inputJsonValueelements into aJsonObject.Methods in javax.json.stream with parameters of type JsonObject Modifier and Type Method Description JsonParserJsonParserFactory. createParser(JsonObject obj)Creates a JSON parser from the specified JSON object.
-