JsonNode Interface
public interface JsonNode
Interfaces that represents a JSON node.
Method Summary
Modifier and Type | Method and Description |
---|---|
default boolean |
isArray()
Indicates whether this JsonNode is an instance of JsonArray ( |
default boolean |
isNull()
Indicates whether this JsonNode is an instance of JsonNull ( |
default boolean |
isObject()
Indicates whether this JsonNode is an instance of JsonObject ( |
default boolean |
isValue()
Indicates whether this JsonNode is an instance of JsonPrimitive ( |
Method Details
isArray
isNull
isObject
public default boolean isObject()
Indicates whether this JsonNode is an instance of JsonObject ({}
).
Returns:
isValue
public default boolean isValue()
Indicates whether this JsonNode is an instance of JsonPrimitive ("string", 0, false, true
).
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for