Interface JsonBooleanNode

All Superinterfaces:
JsonNode

public interface JsonBooleanNode extends JsonNode
This interface is used to define a JSON boolean node.
  • Method Details

    • getValue

      Boolean getValue()
      Description copied from interface: JsonNode
      Retrieves the value for this JsonNode.
      Specified by:
      getValue in interface JsonNode
      Returns:
      The value for this JsonNode.
    • jsonBooleanNode

      static JsonBooleanNode jsonBooleanNode(boolean value)
      Creates a new instance of JsonBooleanNode from the supplied boolean.
      Parameters:
      value - The boolean value.
      Returns:
      A new JsonBooleanNode instance.