chop property

JsonPath chop

Returns an immutable copy of this path, with the last path segment removed

Implementation

JsonPath get chop => JsonPath.segments(_chopList(segments));