Uses of Interface
de.espirit.firstspirit.json.JsonElement
Packages that use JsonElement
Package
Description
-
Uses of JsonElement in de.espirit.firstspirit.client.access.editor
Methods in de.espirit.firstspirit.client.access.editor that return JsonElementModifier and TypeMethodDescription@NotNull JsonElement<?>JsonSupporting.handle(@NotNull JsonGenerationContext context, T value) This method transforms the given value to a validJsonElement. -
Uses of JsonElement in de.espirit.firstspirit.generate.functions.json
Methods in de.espirit.firstspirit.generate.functions.json that return JsonElementModifier and TypeMethodDescription<T> @NotNull JsonElement<?>JsonGenerationContext.handle(T object) Entry point for the transformation of an object to aJsonElement. -
Uses of JsonElement in de.espirit.firstspirit.json
Subinterfaces of JsonElement in de.espirit.firstspirit.jsonModifier and TypeInterfaceDescriptioninterfaceThe interface for json arrays.interfaceThe root interface for json objects.interfaceAn interface for representing a json key/value pair containing of a key and aJsonElement.Methods in de.espirit.firstspirit.json that return JsonElementModifier and TypeMethodDescription@NotNull JsonElement<?>JsonArray.get(int index) Returns theelementat the specified position in this array.@Nullable JsonElement<?>Get the value with the specified key.@NotNull JsonElement<?>JsonPair.getValue()This method returns the current value of the pair.@Nullable JsonElement<?>Get the value for the specified path.Methods in de.espirit.firstspirit.json that return types with arguments of type JsonElementModifier and TypeMethodDescriptiondefault @NotNull Stream<JsonElement<?>>JsonArray.stream()This method transforms the current values list to a stream and returns it.@NotNull Collection<JsonElement<?>>JsonArray.values()Returns the currentvaluesin a newcollection.Methods in de.espirit.firstspirit.json with parameters of type JsonElementModifier and TypeMethodDescription@NotNull JsonArrayJsonArray.add(@NotNull JsonElement<?>... values) This method adds one or more elements to the list.static @NotNull JsonPairJsonPair.of(@NotNull String key, @NotNull JsonElement<?> value) @NotNull JsonObjectJsonObject.put(@NotNull String key, @NotNull JsonElement<?> value) This method adds one pair to the object.@NotNull JsonArrayJsonArray.remove(@NotNull JsonElement<?>... values) This method removes the given {link JsonElement elements}.Method parameters in de.espirit.firstspirit.json with type arguments of type JsonElementModifier and TypeMethodDescription@NotNull JsonArrayJsonArray.add(@NotNull Collection<? extends JsonElement<?>> values) This method adds a collection ofJsonElementinstances to the list.@NotNull JsonArrayJsonArray.remove(@NotNull Collection<? extends JsonElement<?>> values) This method removes a collection ofJsonElementinstances from the list. -
Uses of JsonElement in de.espirit.firstspirit.json.values
Subinterfaces of JsonElement in de.espirit.firstspirit.json.valuesModifier and TypeInterfaceDescriptioninterfaceA value class for representing a boolean value in JSON.interfaceThis class represents a JSON value that is a date.interfaceA value class representing a null value in JSON.interfaceA value class for representing a numeric value in JSON.interfaceA value class for representing a String value in JSON.Methods in de.espirit.firstspirit.json.values that return JsonElementModifier and TypeMethodDescriptionstatic @NotNull JsonElement<?>JsonStringValue.ofNullable(@Nullable Object value) Returns a newjson elementwrapping the givenvalue, orJsonNullValue.NULLif the provided value isnull.