You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would expect concatenated to be the same as JsonPointer.compile("/a2/b/c").
However, instead it is JsonPointer.compile("/a2/a1/b/c"), because append appends tail._asString which still contains the segments from before tail() was called.
The text was updated successfully, but these errors were encountered:
cowtowncoder
changed the title
JsonPointer.append(JsonPointer.tail()) includes the original pointer JsonPointer.append(JsonPointer.tail()) includes the original pointer
Dec 15, 2023
Given the following code:
I would expect concatenated to be the same as
JsonPointer.compile("/a2/b/c")
.However, instead it is
JsonPointer.compile("/a2/a1/b/c")
, becauseappend
appendstail._asString
which still contains the segments from beforetail()
was called.The text was updated successfully, but these errors were encountered: