-
Task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
-
None
Acceptance Criteria (Required on creation):
The JavaDocs for SpinJsonNode.elements() are not clear enough. See https://javadoc.io/doc/org.camunda.spin/camunda-spin-core/1.9.1/org/camunda/spin/json/SpinJsonNode.html#elements--
public abstract SpinList<SpinJsonNode> elements() Get this node as list. Returns: the list value of this node
It is not clear, that elements() returns a list of copies of the SpinJsonNode objects and that modifying the list will not update the original SpinJsonNode. See https://github.com/camunda/camunda-spin/blob/cf898059dd159fa82e58379188ec5bb2c2cbf73c/dataformat-json-jackson/src/main/java/org/camunda/spin/impl/json/jackson/JacksonJsonNode.java#L425