@Override
    public String toString() {
        try (JSONWriter writer = JSONWriter.of()) {
            writer.setRootObject(this);
            writer.write(this);
            return writer.toString();
        }
    }
Serialize to JSON {@link String}

@return JSON {@link String}
core/src/main/java/com/alibaba/fastjson2/JSONArray.java