Class BaseJsonNode

All Implemented Interfaces:
Serializable, Iterable<JsonNode>, tools.jackson.core.TreeNode, JacksonSerializable
Direct Known Subclasses:
ContainerNode, MissingNode, ValueNode

public abstract class BaseJsonNode extends JsonNode implements Serializable
Abstract base class common to all standard JsonNode implementations. The main addition here is that we declare that sub-classes must implement JacksonSerializable. This simplifies object mapping aspects a bit, as no external serializers are needed.

Note that support for Serializable is added here and so all subtypes are fully JDK serializable: but also note that serialization is as JSON and should only be used for interoperability purposes where other approaches are not available.

See Also:
  • Constructor Details

    • BaseJsonNode

      protected BaseJsonNode()
  • Method Details

    • isMissingNode

      public boolean isMissingNode()
      Specified by:
      isMissingNode in interface tools.jackson.core.TreeNode
      Overrides:
      isMissingNode in class JsonNode
    • isEmbeddedValue

      public boolean isEmbeddedValue()
      Specified by:
      isEmbeddedValue in interface tools.jackson.core.TreeNode
    • numberValue

      public Number numberValue()
      Description copied from class: JsonNode
      Method that will try to access value of this node as Number that accurately represents its value, if (and only if) this is a number node (returns true for JsonNode.isNumber()). If this node is NOT a number node, a JsonNodeException will be thrown.
      Specified by:
      numberValue in class JsonNode
      Returns:
      Number value this node contains, if numeric node
    • shortValue

      public short shortValue()
      Description copied from class: JsonNode
      Method that will try to access value of this node as 16-bit signed integer value (Java short): but if node value cannot be expressed exactly as a short, a JsonNodeException will be thrown. Access works for following cases:
      • JSON Integer values that fit in Java 16-bit signed short range
      • JSON Floating-point values that fit in Java 16-bit signed short range AND do not have fractional part.

      Specified by:
      shortValue in class JsonNode
      Returns:
      Short value this node represents, if possible to accurately represent
    • intValue

      public int intValue()
      Description copied from class: JsonNode
      Method that will try to access value of this node as a Java int: but if node value cannot be expressed exactly as an int, a JsonNodeException will be thrown. Access works for following cases:
      • JSON Integer values that fit in Java 32-bit signed int range
      • JSON Floating-point values that fit in Java 32-bit signed int range AND do not have fractional part.

      NOTE: for more lenient conversions, use JsonNode.asInt()

      Specified by:
      intValue in class JsonNode
      Returns:
      Int value this node represents, if possible to accurately represent
    • intValue

      public int intValue(int defaultValue)
      Description copied from class: JsonNode
      Method similar to JsonNode.intValue(), but that will return specified defaultValue if this node cannot be converted to Java int.
      Specified by:
      intValue in class JsonNode
      Parameters:
      defaultValue - Value to return if this node cannot be converted to Java int
      Returns:
      Java int value this node represents, if possible to accurately represent; defaultValue otherwise
    • intValueOpt

      public OptionalInt intValueOpt()
      Description copied from class: JsonNode
      Method similar to JsonNode.intValue(), but that will return empty OptionalInt (OptionalInt.empty()) if this node cannot be converted to Java int.
      Specified by:
      intValueOpt in class JsonNode
      Returns:
      Java int value this node represents, as OptionalInt, if possible to accurately represent; OptionalInt.empty() otherwise
    • asInt

      public int asInt()
      Description copied from class: JsonNode
      Method that will try to convert value of this node to a Java int. Numbers are coerced using default Java rules; booleans convert to 0 (false) and 1 (true), and Strings are parsed using default Java language integer parsing rules.

      If representation cannot be converted to an int (including structured types like Objects and Arrays), default value of 0 will be returned; no exceptions are thrown.

      Specified by:
      asInt in class JsonNode
    • asInt

      public int asInt(int defaultValue)
      Description copied from class: JsonNode
      Method that will try to convert value of this node to a Java int. Numbers are coerced using default Java rules; booleans convert to 0 (false) and 1 (true), and Strings are parsed using default Java language integer parsing rules.

      If representation cannot be converted to an int (including structured types like Objects and Arrays), specified defaultValue will be returned; no exceptions are thrown.

      Specified by:
      asInt in class JsonNode
    • longValue

      public long longValue()
      Description copied from class: JsonNode
      Method that will try to access value of this node as a Java long: but if node value cannot be expressed exactly as a long, a JsonNodeException will be thrown. Access works for following cases:
      • JSON Integer values that fit in Java 64-bit signed long range
      • JSON Floating-point values that fit in Java 64-bit signed long range AND do not have fractional part.

      NOTE: for more lenient conversions, use JsonNode.asLong()

      Specified by:
      longValue in class JsonNode
      Returns:
      Long value this node represents, if possible to accurately represent
    • longValue

      public long longValue(long defaultValue)
      Description copied from class: JsonNode
      Method similar to JsonNode.longValue(), but that will return specified defaultValue if this node cannot be converted to Java long.
      Specified by:
      longValue in class JsonNode
      Parameters:
      defaultValue - Value to return if this node cannot be converted to Java long
      Returns:
      Java long value this node represents, if possible to accurately represent; defaultValue otherwise
    • longValueOpt

      public OptionalLong longValueOpt()
      Description copied from class: JsonNode
      Method similar to JsonNode.longValue(), but that will return empty OptionalLong (OptionalLong.empty()) if this node cannot be converted to Java long.
      Specified by:
      longValueOpt in class JsonNode
      Returns:
      Java long value this node represents, as OptionalLong, if possible to accurately represent; OptionalLong.empty() otherwise
    • asLong

      public long asLong()
      Description copied from class: JsonNode
      Method that will try to convert value of this node to a Java long. Numbers are coerced using default Java rules; booleans convert to 0 (false) and 1 (true), and Strings are parsed using default Java language integer parsing rules.

      If representation cannot be converted to a long (including structured types like Objects and Arrays), default value of 0 will be returned; no exceptions are thrown.

      Specified by:
      asLong in class JsonNode
    • asLong

      public long asLong(long defaultValue)
      Description copied from class: JsonNode
      Method that will try to convert value of this node to a Java long. Numbers are coerced using default Java rules; booleans convert to 0 (false) and 1 (true), and Strings are parsed using default Java language integer parsing rules.

      If representation cannot be converted to a long (including structured types like Objects and Arrays), specified defaultValue will be returned; no exceptions are thrown.

      Specified by:
      asLong in class JsonNode
    • bigIntegerValue

      public BigInteger bigIntegerValue()
      Description copied from class: JsonNode
      Method that will try to access value of this node as a BigInteger, but if node value cannot be expressed exactly as a BigInteger, a JsonNodeException will be thrown. Access works for following cases:
      • JSON Integer values
      • JSON Floating-point values that do not have fractional part.

      Specified by:
      bigIntegerValue in class JsonNode
      Returns:
      BigInteger value this node represents, if possible to accurately represent
    • floatValue

      public float floatValue()
      Description copied from class: JsonNode
      Method that will try to access value of this node as a Java float: but if node value cannot be expressed exactly as a float, a JsonNodeException will be thrown. Access works for following cases:
      • JSON Floating-point values that fit in Java 32-bit double range
      • JSON Integer values that fit in Java 32-bit double range

      Specified by:
      floatValue in class JsonNode
      Returns:
      Float value this node represents, if possible to accurately represent
    • doubleValue

      public double doubleValue()
      Description copied from class: JsonNode
      Method that will try to access value of this node as a Java double: but if node value cannot be expressed exactly as a double, a JsonNodeException will be thrown. Access works for following cases:
      • JSON Floating-point values that fit in Java 64-bit double range
      • JSON Integer values that fit in Java 64-bit double range

      NOTE: for more lenient conversions, use JsonNode.asDouble()

      Specified by:
      doubleValue in class JsonNode
      Returns:
      Double value this node represents, if possible to accurately represent
    • doubleValue

      public double doubleValue(double defaultValue)
      Description copied from class: JsonNode
      Method similar to JsonNode.doubleValue(), but that will return specified defaultValue if this node cannot be converted to Java double.
      Specified by:
      doubleValue in class JsonNode
      Parameters:
      defaultValue - Value to return if this node cannot be converted to Java double
      Returns:
      Java double value this node represents, if possible to accurately represent; defaultValue otherwise
    • doubleValueOpt

      public OptionalDouble doubleValueOpt()
      Description copied from class: JsonNode
      Method similar to JsonNode.doubleValue(), but that will return empty OptionalLong (OptionalDouble.empty()) if this node cannot be converted to Java double.
      Specified by:
      doubleValueOpt in class JsonNode
      Returns:
      Java double value this node represents, as OptionalDouble, if possible to accurately represent; OptionalDouble.empty() otherwise
    • asDouble

      public double asDouble()
      Description copied from class: JsonNode
      Method that will try to convert value of this node to a Java double. Numbers are coerced using default Java rules; booleans convert to 0.0 (false) and 1.0 (true), and Strings are parsed using default Java language integer parsing rules.

      If representation cannot be converted to an int (including structured types like Objects and Arrays), default value of 0.0 will be returned; no exceptions are thrown.

      Specified by:
      asDouble in class JsonNode
    • asDouble

      public double asDouble(double defaultValue)
      Description copied from class: JsonNode
      Method that will try to convert value of this node to a Java double. Numbers are coerced using default Java rules; booleans convert to 0.0 (false) and 1.0 (true), and Strings are parsed using default Java language integer parsing rules.

      If representation cannot be converted to an int (including structured types like Objects and Arrays), specified defaultValue will be returned; no exceptions are thrown.

      Specified by:
      asDouble in class JsonNode
    • decimalValue

      public BigDecimal decimalValue()
      Description copied from class: JsonNode
      Method that will try to access value of this node as a Java BigDecimal: but if node value cannot be expressed exactly as a BigDecimal, a JsonNodeException will be thrown. Access works for following cases:
      • All JSON Number values

      NOTE: for more lenient conversions, use JsonNode.asDecimal()

      Specified by:
      decimalValue in class JsonNode
      Returns:
      BigDecimal value this node represents, if possible to accurately represent
    • decimalValue

      public BigDecimal decimalValue(BigDecimal defaultValue)
      Description copied from class: JsonNode
      Method similar to JsonNode.decimalValue(), but that will return defaultValue if this node cannot be coerced to Java BigDecimal.
      Specified by:
      decimalValue in class JsonNode
      Returns:
      BigDecimal value this node represents, if possible to accurately represent; defaultValue otherwise
    • decimalValueOpt

      public Optional<BigDecimal> decimalValueOpt()
      Description copied from class: JsonNode
      Method similar to JsonNode.decimalValue(), but that will return empty Optional (Optional.empty()) if this node cannot be coerced to BigDecimal.
      Specified by:
      decimalValueOpt in class JsonNode
      Returns:
      Java BigDecimal value this node represents, as Optional<BigDecimal>, if possible to accurately represent; Optional.empty() otherwise
    • asDecimal

      public BigDecimal asDecimal()
      Specified by:
      asDecimal in class JsonNode
    • asDecimal

      public BigDecimal asDecimal(BigDecimal defaultValue)
      Specified by:
      asDecimal in class JsonNode
    • binaryValue

      public byte[] binaryValue()
      Description copied from class: JsonNode
      Method that will try to access value of this node as binary value (Java byte[]) which works if (and only if) node contains binary value (for JSON, Base64-encoded String, for other formats native binary value): if not, a JsonNodeException will be thrown. To check if this method can be used, you may call JsonNode.isBinary().

      Specified by:
      binaryValue in class JsonNode
      Returns:
      Binary value this node represents (if node contains binary value)
    • booleanValue

      public boolean booleanValue()
      Description copied from class: JsonNode
      Method that will try to access value of this node as a Java boolean which works if (and only if) node contains JSON boolean value: if not, a JsonNodeException will be thrown.

      NOTE: for more lenient conversions, use JsonNode.asBoolean()

      Specified by:
      booleanValue in class JsonNode
      Returns:
      boolean value this node represents (if JSON boolean)
    • booleanValue

      public boolean booleanValue(boolean defaultValue)
      Description copied from class: JsonNode
      Method similar to JsonNode.booleanValue(), but that will return specified defaultValue if this node does not contain a JSON boolean.
      Specified by:
      booleanValue in class JsonNode
      Parameters:
      defaultValue - Value to return if this node does not contain a JSON boolean.
      Returns:
      Java boolean value this node represents (if JSON boolean); defaultValue otherwise
    • booleanValueOpt

      public Optional<Boolean> booleanValueOpt()
      Description copied from class: JsonNode
      Method similar to JsonNode.booleanValue(), but that will return Optional.empty() if this node does not contain a JSON boolean.
      Specified by:
      booleanValueOpt in class JsonNode
      Returns:
      Optional<Boolean> value (if node represents JSON boolean); Optional.empty() otherwise
    • asBoolean

      public boolean asBoolean()
      Description copied from class: JsonNode
      Method that will try to convert value of this node to a Java boolean. JSON booleans map naturally; integer numbers other than 0 map to true, and 0 maps to false and Strings 'true' and 'false' map to corresponding values.

      If representation cannot be converted to a boolean value (including structured types like Objects and Arrays), default value of false will be returned; no exceptions are thrown.

      Specified by:
      asBoolean in class JsonNode
    • asBoolean

      public boolean asBoolean(boolean defaultValue)
      Description copied from class: JsonNode
      Method that will try to convert value of this node to a Java boolean. JSON booleans map naturally; integer numbers other than 0 map to true, and 0 maps to false and Strings 'true' and 'false' map to corresponding values.

      If representation cannot be converted to a boolean value (including structured types like Objects and Arrays), specified defaultValue will be returned; no exceptions are thrown.

      Specified by:
      asBoolean in class JsonNode
    • stringValue

      public String stringValue()
      Description copied from class: JsonNode
      Method that will try to access value of this node as a Java String which works if (and only if) node contains JSON String value: if not, a JsonNodeException will be thrown.

      NOTE: for more lenient conversions, use JsonNode.asString()

      NOTE: in Jackson 2.x, was textValue().

      Specified by:
      stringValue in class JsonNode
      Returns:
      String value this node represents (if JSON String)
    • stringValue

      public String stringValue(String defaultValue)
      Description copied from class: JsonNode
      Method similar to JsonNode.stringValue(), but that will return specified defaultValue if this node does not contain a JSON String.
      Specified by:
      stringValue in class JsonNode
      Parameters:
      defaultValue - Value to return if this node does not contain a JSON String.
      Returns:
      Java String value this node represents (if JSON String); defaultValue otherwise
    • stringValueOpt

      public Optional<String> stringValueOpt()
      Description copied from class: JsonNode
      Method similar to JsonNode.stringValue(), but that will return Optional.empty() if this node does not contain a JSON String.
      Specified by:
      stringValueOpt in class JsonNode
      Returns:
      Optional<String> value (if node represents JSON String); Optional.empty() otherwise
    • asString

      public String asString(String defaultValue)
      Description copied from class: JsonNode
      Returns the text value of this node or the provided defaultValue if this node does not have a text value. Useful for nodes that are MissingNode or NullNode, ensuring a default value is returned instead of null or missing indicators.
      Specified by:
      asString in class JsonNode
      Parameters:
      defaultValue - The default value to return if this node's text value is absent.
      Returns:
      The text value of this node, or defaultValue if the text value is absent.
    • findPath

      public final JsonNode findPath(String fieldName)
      Description copied from class: JsonNode
      Method similar to JsonNode.findValue(java.lang.String), but that will return a "missing node" instead of null if no field is found. Missing node is a specific kind of node for which JsonNode.isMissingNode() returns true; and all value access methods return empty or missing value.
      Specified by:
      findPath in class JsonNode
      Parameters:
      fieldName - Name of field to look for
      Returns:
      Value of first matching node found; or if not found, a "missing node" (non-null instance that has no value)
    • hashCode

      public abstract int hashCode()
      Overrides:
      hashCode in class Object
    • required

      public JsonNode required(String fieldName)
      Description copied from class: JsonNode
      Method is functionally equivalent to path(propertyName).required() and can be used to check that this node is an ObjectNode (that is, represents JSON Object value) and has value for specified property with key propertyName (but note that value may be explicit JSON null value). If this node is Object Node and has value for specified property, matching value is returned; otherwise IllegalArgumentException is thrown.
      Specified by:
      required in class JsonNode
      Parameters:
      fieldName - Name of property to access
      Returns:
      Value of the specified property of this Object node
    • required

      public JsonNode required(int index)
      Description copied from class: JsonNode
      Method is functionally equivalent to path(index).required() and can be used to check that this node is an ArrayNode (that is, represents JSON Array value) and has value for specified index (but note that value may be explicit JSON null value). If this node is Array Node and has value for specified index, value at index is returned; otherwise IllegalArgumentException is thrown.
      Specified by:
      required in class JsonNode
      Parameters:
      index - Index of the value of this Array node to access
      Returns:
      Value at specified index of this Array node
    • traverse

      public tools.jackson.core.JsonParser traverse(tools.jackson.core.ObjectReadContext readCtxt)
      Specified by:
      traverse in interface tools.jackson.core.TreeNode
    • asToken

      public abstract tools.jackson.core.JsonToken asToken()
      Method that can be used for efficient type detection when using stream abstraction for traversing nodes. Will return the first JsonToken that equivalent stream event would produce (for most nodes there is just one token but for structured/container types multiple)
      Specified by:
      asToken in interface tools.jackson.core.TreeNode
    • numberType

      public tools.jackson.core.JsonParser.NumberType numberType()
      Returns code that identifies type of underlying numeric value, if (and only if) node is a number node.
      Specified by:
      numberType in interface tools.jackson.core.TreeNode
    • withObject

      public ObjectNode withObject(tools.jackson.core.JsonPointer ptr, JsonNode.OverwriteMode overwriteMode, boolean preferIndex)
      Description copied from class: JsonNode
      Method that can be called on Object or Array nodes, to access a Object-valued node pointed to by given JsonPointer, if such a node exists: or if not, an attempt is made to create one and return it. For example, on document
        { "a" : {
             "b" : {
                "c" : 13
             }
          }
        }
      
      calling method with JsonPointer of /a/b would return ObjectNode
        { "c" : 13 }
      

      In cases where path leads to "missing" nodes, a path is created. So, for example, on above document, and JsonPointer of /a/x an empty ObjectNode would be returned and the document would look like:

        { "a" : {
             "b" : {
                "c" : 13
             },
             "x" : { }
          }
        }
      
      Finally, if the path is incompatible with the document -- there is an existing JsonNode through which expression cannot go -- a replacement is attempted if (and only if) conversion is allowed as per overwriteMode passed in. For example, with above document and expression of /a/b/c, conversion is allowed if passing OverwriteMode.SCALARS or OvewriteMode.ALL, and resulting document would look like:
        { "a" : {
             "b" : {
                "c" : { }
             },
             "x" : { }
          }
        }
      
      but if different modes (NONE or NULLS) is passed, an exception is thrown instead.
      Overrides:
      withObject in class JsonNode
      Parameters:
      ptr - Pointer that indicates path to use for ObjectNode value to return (potentially creating one as necessary)
      overwriteMode - Defines which node types may be converted in case of incompatible JsonPointer expression: if conversion not allowed, UnsupportedOperationException is thrown.
      preferIndex - When creating a path (for empty or replacement), and path contains segment that may be an array index (simple integer number like 3), whether to construct an ArrayNode (true) or ObjectNode (false). In latter case matching property with quoted number (like "3") is used within Object.
      Returns:
      ObjectNode found or created
    • _withObject

      protected ObjectNode _withObject(tools.jackson.core.JsonPointer origPtr, tools.jackson.core.JsonPointer currentPtr, JsonNode.OverwriteMode overwriteMode, boolean preferIndex)
    • _withXxxVerifyReplace

      protected void _withXxxVerifyReplace(tools.jackson.core.JsonPointer origPtr, tools.jackson.core.JsonPointer currentPtr, JsonNode.OverwriteMode overwriteMode, boolean preferIndex, JsonNode toReplace)
    • _withXxxMayReplace

      protected boolean _withXxxMayReplace(JsonNode node, JsonNode.OverwriteMode overwriteMode)
    • withArray

      public ArrayNode withArray(tools.jackson.core.JsonPointer ptr, JsonNode.OverwriteMode overwriteMode, boolean preferIndex)
      Description copied from class: JsonNode
      Method that can be called on Object or Array nodes, to access a Array-valued node pointed to by given JsonPointer, if such a node exists: or if not, an attempt is made to create one and return it. For example, on document
        { "a" : {
             "b" : [ 1, 2 ]
          }
        }
      
      calling method with JsonPointer of /a/b would return Array
        [ 1, 2 ]
      

      In cases where path leads to "missing" nodes, a path is created. So, for example, on above document, and JsonPointer of /a/x an empty ArrayNode would be returned and the document would look like:

        { "a" : {
             "b" : [ 1, 2 ],
             "x" : [ ]
          }
        }
      
      Finally, if the path is incompatible with the document -- there is an existing JsonNode through which expression cannot go -- a replacement is attempted if (and only if) conversion is allowed as per overwriteMode passed in. For example, with above document and expression of /a/b/0, conversion is allowed if passing OverwriteMode.SCALARS or OvewriteMode.ALL, and resulting document would look like:
        { "a" : {
             "b" : [ [ ], 2 ],
             "x" : [ ]
          }
        }
      
      but if different modes (NONE or NULLS) is passed, an exception is thrown instead.
      Overrides:
      withArray in class JsonNode
      Parameters:
      ptr - Pointer that indicates path to use for ArrayNode value to return (potentially creating it as necessary)
      overwriteMode - Defines which node types may be converted in case of incompatible JsonPointer expression: if conversion not allowed, an exception is thrown.
      preferIndex - When creating a path (for empty or replacement), and path contains segment that may be an array index (simple integer number like 3), whether to construct an ArrayNode (true) or ObjectNode (false). In latter case matching property with quoted number (like "3") is used within Object.
      Returns:
      ArrayNode found or created
    • _withArray

      protected ArrayNode _withArray(tools.jackson.core.JsonPointer origPtr, tools.jackson.core.JsonPointer currentPtr, JsonNode.OverwriteMode overwriteMode, boolean preferIndex)
    • serialize

      public abstract void serialize(tools.jackson.core.JsonGenerator jgen, SerializationContext ctxt) throws tools.jackson.core.JacksonException
      Method called to serialize node instances using given generator.
      Specified by:
      serialize in interface JacksonSerializable
      Throws:
      tools.jackson.core.JacksonException
    • serializeWithType

      public abstract void serializeWithType(tools.jackson.core.JsonGenerator jgen, SerializationContext ctxt, TypeSerializer typeSer) throws tools.jackson.core.JacksonException
      Type information is needed, even if JsonNode instances are "plain" JSON, since they may be mixed with other types.
      Specified by:
      serializeWithType in interface JacksonSerializable
      Throws:
      tools.jackson.core.JacksonException
    • toString

      public String toString()
      Description copied from class: JsonNode
      Method that will produce (as of Jackson 2.10) valid JSON using default settings of databind, as String. If you want other kinds of JSON output (or output formatted using one of other Jackson-supported data formats) make sure to use ObjectMapper or ObjectWriter to serialize an instance, for example:
         String json = objectMapper.writeValueAsString(rootNode);
      

      Note: method defined as abstract to ensure all implementation classes explicitly implement method, instead of relying on Object.toString() definition.

      Specified by:
      toString in class JsonNode
    • toPrettyString

      public String toPrettyString()
      Description copied from class: JsonNode
      Alternative to JsonNode.toString() that will serialize this node using Jackson default pretty-printer.
      Overrides:
      toPrettyString in class JsonNode
    • _reportCoercionFail

      protected <T> T _reportCoercionFail(String method, Class<?> targetType, String message)
    • _reportShortCoercionRangeFail

      protected short _reportShortCoercionRangeFail(String method)
    • _reportIntCoercionRangeFail

      protected int _reportIntCoercionRangeFail(String method)
    • _reportLongCoercionRangeFail

      protected long _reportLongCoercionRangeFail(String method)
    • _reportFloatCoercionRangeFail

      protected float _reportFloatCoercionRangeFail(String method)
    • _reportDoubleCoercionRangeFail

      protected double _reportDoubleCoercionRangeFail(String method)
    • _reportShortCoercionFractionFail

      protected short _reportShortCoercionFractionFail(String method)
    • _reportIntCoercionFractionFail

      protected int _reportIntCoercionFractionFail(String method)
    • _reportLongCoercionFractionFail

      protected long _reportLongCoercionFractionFail(String method)
    • _reportBigIntegerCoercionFractionFail

      protected BigInteger _reportBigIntegerCoercionFractionFail(String method)
    • _reportWrongNodeType

      protected <T> T _reportWrongNodeType(String msgTemplate, Object... args)
      Helper method that throws JsonNodeException as a result of this node being of wrong type
    • _jsonPointerIfValid

      protected tools.jackson.core.JsonPointer _jsonPointerIfValid(String exprOrProperty)
    • _valueDesc

      protected abstract String _valueDesc()
      Method for implementation classes to return a short description of contained value, to be used in error messages.