@Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }

            if (o == null || getClass() != o.getClass()) {
                return false;
            }

            Path path = (Path) o;
            return index == path.index && Objects.equals(parent, path.parent) && Objects.equals(name, path.name);
        }
JSON formatting support using 4 spaces for indentation
@since 2.0.54
core/src/main/java/com/alibaba/fastjson2/JSONWriter.java