Hacker News new | ask | show | jobs
by uzerfcwn 615 days ago
You can add to the end of an array by using the path /.../myarray/-, i.e., the index is replaced by a dash.

JSON patch is indeed not idempotent.