Interface JsonOperations.JsonStringSpec

All Superinterfaces:
JsonOperations.JsonKeySupport<JsonOperations.JsonStringSpec>, JsonOperations.JsonSet<String, JsonOperations.JsonStringSpec>, JsonOperations.PathSpec<JsonOperations.JsonStringSpec>
Enclosing interface:
JsonOperations<K>

Specification for JSON string operations bound to a particular key.
Since:
4.2
Author:
Mark Paluch, Yordan Tsintsov, Moritz Halbritter
  • Method Details

    • length

      List<@Nullable Long> length()
      Return the length of the JSON string values at the configured path.
      Returns:
      the length for each matching path, with a null element for each non-string value.
      See Also:
    • append

      List<@Nullable Long> append(String value)
      Append value to the JSON string values at the configured path.
      Parameters:
      value - the string value to append.
      Returns:
      the updated length for each matching path, with a null element for each non-string value.
      See Also: