public class JakartaJsonProcessingDomValue extends Object implements JsonDomValue<jakarta.json.JsonValue>
| Constructor and Description |
|---|
JakartaJsonProcessingDomValue(jakarta.json.JsonValue jsonElement) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
JsonDomChildren<JakartaJsonProcessingDomValue> |
getChildren()
Returns a map of child node names and their values.
|
jakarta.json.JsonValue |
getJsonElement()
Wrapped JSON element
|
String |
getTextValue()
Returns the text value.
|
JsonDomType |
getType()
Returns the JSON elements value type.
|
int |
hashCode() |
String |
toString() |
public JakartaJsonProcessingDomValue(jakarta.json.JsonValue jsonElement)
@NonNull public JsonDomChildren<JakartaJsonProcessingDomValue> getChildren()
For JSON objects and arrays a map of keys to wrapped values should be returned. For other JSON elements an empty map should be returned.
getChildren in interface JsonDomValue<jakarta.json.JsonValue>@NonNull public String getTextValue()
For JSON strings this is the string value without quotes. For other JSON elements it is their JSON representation.
getTextValue in interface JsonDomValue<jakarta.json.JsonValue>@NonNull public JsonDomType getType()
getType in interface JsonDomValue<jakarta.json.JsonValue>public jakarta.json.JsonValue getJsonElement()
getJsonElement in interface JsonDomValue<jakarta.json.JsonValue>protected boolean canEqual(@Nullable
Object other)
Copyright © 2024. All rights reserved.