bruth / jsonpatch-js

A JavaScript implementation of the JSON Media Type for partial modifications: http://tools.ietf.org/html/rfc6902
http://bruth.github.io/jsonpatch-js
BSD 2-Clause "Simplified" License
181 stars 24 forks source link

incorrect JSONPointer behavior #27

Open nebulaszlonemethi opened 7 years ago

nebulaszlonemethi commented 7 years ago

new jsonpatch.JSONPointer("/x").getReference({x:123}) returns {x:123} instead of 123