{"_id":"json-pointer","_rev":"4579115","name":"json-pointer","description":"Some utilities for JSON pointers described by RFC 6901","dist-tags":{"latest":"0.6.2"},"maintainers":[{"name":"esp","email":""},{"name":"manuelstofer","email":"manuel@takimata.ch"}],"time":{"modified":"2026-04-10T15:53:07.000Z","created":"2013-04-07T14:38:12.779Z","0.6.2":"2022-02-17T14:56:31.652Z","0.6.1":"2020-09-24T14:09:31.470Z","0.6.0":"2016-10-17T10:27:31.399Z","0.5.0":"2016-03-18T12:36:04.217Z","0.4.0":"2016-02-22T23:50:59.733Z","0.3.1":"2016-02-17T00:08:05.175Z","0.3.0":"2015-02-24T10:00:01.684Z","0.2.2":"2014-09-20T04:24:37.727Z","0.2.1":"2014-07-30T04:07:21.202Z","0.1.0":"2013-11-09T06:37:06.795Z","0.0.4":"2013-09-08T11:46:29.444Z","0.0.3":"2013-04-07T18:36:29.292Z","0.0.2":"2013-04-07T14:38:12.779Z"},"users":{},"author":{"name":"Manuel Stofer","email":"manuel@smallpdf.com"},"repository":{"type":"git","url":"git://github.com/manuelstofer/json-pointer.git"},"versions":{"0.6.2":{"name":"json-pointer","description":"Some utilities for JSON pointers described by RFC 6901","version":"0.6.2","author":{"name":"Manuel Stofer","email":"manuel@smallpdf.com"},"license":"MIT","dependencies":{"foreach":"^2.0.4"},"homepage":"https://github.com/manuelstofer/json-pointer","repository":{"type":"git","url":"git://github.com/manuelstofer/json-pointer.git"},"devDependencies":{"chai":"^1.9.1","coveralls":"^2.11.14","mocha":"^1.9.0","nyc":"^8.3.1","seamless-immutable":"^5.1.1"},"scripts":{"test":"nyc make test"},"nyc":{"exclude":["test","node_modules"],"reporter":["lcov","text-summary"]},"gitHead":"931b0f9c7178ca09778087b4b0ac7e4f505620c2","bugs":{"url":"https://github.com/manuelstofer/json-pointer/issues"},"_id":"json-pointer@0.6.2","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"shasum":"f97bd7550be5e9ea901f8c9264c9d436a22a93cd","size":23571,"noattachment":false,"key":"/json-pointer/-/json-pointer-0.6.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/json-pointer/download/json-pointer-0.6.2.tgz"},"_npmUser":{"name":"manuelstofer","email":"manuel@smallpdf.com"},"directories":{},"maintainers":[{"name":"esp","email":""},{"name":"manuelstofer","email":"manuel@takimata.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-pointer_0.6.2_1645109791499_0.8769024476508509"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-17T14:56:36.585Z","publish_time":1645109791652,"_cnpm_publish_time":1645109791652},"0.6.1":{"name":"json-pointer","description":"Some utilities for JSON pointers described by RFC 6901","version":"0.6.1","author":{"name":"Manuel Stofer","email":"manuel@smallpdf.com"},"license":"MIT","dependencies":{"foreach":"^2.0.4"},"homepage":"https://github.com/manuelstofer/json-pointer","repository":{"type":"git","url":"git://github.com/manuelstofer/json-pointer.git"},"devDependencies":{"chai":"^1.9.1","coveralls":"^2.11.14","mocha":"^1.9.0","nyc":"^8.3.1","seamless-immutable":"^5.1.1"},"scripts":{"test":"nyc make test"},"nyc":{"exclude":["test","node_modules"],"reporter":["lcov","text-summary"]},"gitHead":"9b5ea8e3b20f9e3065860cf3b018b47708e8794d","bugs":{"url":"https://github.com/manuelstofer/json-pointer/issues"},"_id":"json-pointer@0.6.1","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"shasum":"3c6caa6ac139e2599f5a1659d39852154015054d","size":6552,"noattachment":false,"key":"/json-pointer/-/json-pointer-0.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/json-pointer/download/json-pointer-0.6.1.tgz"},"maintainers":[{"name":"esp","email":""},{"name":"manuelstofer","email":"manuel@takimata.ch"}],"_npmUser":{"name":"manuelstofer","email":"manuel@smallpdf.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-pointer_0.6.1_1600956571266_0.4871243705777757"},"_hasShrinkwrap":false,"publish_time":1600956571470,"_cnpm_publish_time":1600956571470,"_cnpmcore_publish_time":"2021-12-16T16:54:43.273Z"},"0.6.0":{"name":"json-pointer","description":"Some utilities for JSON pointers described by RFC 6901","version":"0.6.0","author":{"name":"Manuel Stofer","email":"manuel@takimata.ch"},"license":"MIT","dependencies":{"foreach":"^2.0.4"},"homepage":"https://github.com/manuelstofer/json-pointer","repository":{"type":"git","url":"git://github.com/manuelstofer/json-pointer.git"},"devDependencies":{"chai":"^1.9.1","mocha":"^1.9.0","seamless-immutable":"^5.1.1"},"scripts":{"test":"make test"},"gitHead":"daca211a0b25824c1fa10890f4ff0c14f491ba3f","bugs":{"url":"https://github.com/manuelstofer/json-pointer/issues"},"_id":"json-pointer@0.6.0","_shasum":"8e500550a6aac5464a473377da57aa6cc22828d7","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.5.0","_npmUser":{"name":"manuelstofer","email":"manuel@takimata.ch"},"dist":{"shasum":"8e500550a6aac5464a473377da57aa6cc22828d7","size":6254,"noattachment":false,"key":"/json-pointer/-/json-pointer-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/json-pointer/download/json-pointer-0.6.0.tgz"},"maintainers":[{"name":"esp","email":""},{"name":"manuelstofer","email":"manuel@takimata.ch"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/json-pointer-0.6.0.tgz_1476700049741_0.14495071303099394"},"directories":{},"publish_time":1476700051399,"_hasShrinkwrap":false,"_cnpm_publish_time":1476700051399,"_cnpmcore_publish_time":"2021-12-16T16:54:43.622Z"},"0.5.0":{"name":"json-pointer","description":"Some utilities for JSON pointers described by RFC 6901","version":"0.5.0","author":{"name":"Manuel Stofer","email":"manuel@takimata.ch"},"license":"MIT","dependencies":{"foreach":"^2.0.4"},"homepage":"https://github.com/manuelstofer/json-pointer","repository":{"type":"git","url":"git://github.com/manuelstofer/json-pointer.git"},"devDependencies":{"chai":"^1.9.1","mocha":"^1.9.0","seamless-immutable":"^5.1.1"},"scripts":{"test":"make test"},"gitHead":"635503755529cd0ed0f4801a771ef02d274c7678","bugs":{"url":"https://github.com/manuelstofer/json-pointer/issues"},"_id":"json-pointer@0.5.0","_shasum":"e0cdd1e561d50608fbc7de810923beb4df11ba0c","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"manuelstofer","email":"manuel@takimata.ch"},"dist":{"shasum":"e0cdd1e561d50608fbc7de810923beb4df11ba0c","size":6214,"noattachment":false,"key":"/json-pointer/-/json-pointer-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/json-pointer/download/json-pointer-0.5.0.tgz"},"maintainers":[{"name":"esp","email":""},{"name":"manuelstofer","email":"manuel@takimata.ch"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/json-pointer-0.5.0.tgz_1458304561814_0.06991734611801803"},"directories":{},"publish_time":1458304564217,"_hasShrinkwrap":false,"_cnpm_publish_time":1458304564217,"_cnpmcore_publish_time":"2021-12-16T16:54:43.817Z"},"0.4.0":{"name":"json-pointer","description":"Some utilities for JSON pointers described by RFC 6901","version":"0.4.0","author":{"name":"Manuel Stofer","email":"manuel@takimata.ch"},"license":"MIT","dependencies":{"foreach":"^2.0.4"},"homepage":"https://github.com/manuelstofer/json-pointer","repository":{"type":"git","url":"git://github.com/manuelstofer/json-pointer.git"},"devDependencies":{"mocha":"^1.9.0","chai":"^1.9.1"},"scripts":{"test":"make test"},"gitHead":"5f680d07ca25a562cb3a706083d1f78f23c7c880","bugs":{"url":"https://github.com/manuelstofer/json-pointer/issues"},"_id":"json-pointer@0.4.0","_shasum":"ecd9c8a24a88378a12441c63952f68872c1bc400","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"manuelstofer","email":"manuel@takimata.ch"},"dist":{"shasum":"ecd9c8a24a88378a12441c63952f68872c1bc400","size":6112,"noattachment":false,"key":"/json-pointer/-/json-pointer-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/json-pointer/download/json-pointer-0.4.0.tgz"},"maintainers":[{"name":"esp","email":""},{"name":"manuelstofer","email":"manuel@takimata.ch"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/json-pointer-0.4.0.tgz_1456185054592_0.9208381110802293"},"directories":{},"publish_time":1456185059733,"_hasShrinkwrap":false,"_cnpm_publish_time":1456185059733,"_cnpmcore_publish_time":"2021-12-16T16:54:44.130Z"},"0.3.1":{"name":"json-pointer","description":"Some utilities for JSON pointers described by RFC 6901","version":"0.3.1","author":{"name":"Manuel Stofer","email":"manuel@takimata.ch"},"license":"MIT","dependencies":{"foreach":"^2.0.4"},"homepage":"https://github.com/manuelstofer/json-pointer","repository":{"type":"git","url":"git://github.com/manuelstofer/json-pointer.git"},"devDependencies":{"mocha":"^1.9.0","chai":"^1.9.1"},"scripts":{"test":"make test"},"gitHead":"fb24154a397fcb61e202502aa610f0e36e0f13ec","bugs":{"url":"https://github.com/manuelstofer/json-pointer/issues"},"_id":"json-pointer@0.3.1","_shasum":"cea90275ae349019849b3d3e5ee01e1575c487b7","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"manuelstofer","email":"manuel@takimata.ch"},"dist":{"shasum":"cea90275ae349019849b3d3e5ee01e1575c487b7","size":5467,"noattachment":false,"key":"/json-pointer/-/json-pointer-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/json-pointer/download/json-pointer-0.3.1.tgz"},"maintainers":[{"name":"esp","email":""},{"name":"manuelstofer","email":"manuel@takimata.ch"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/json-pointer-0.3.1.tgz_1455667681302_0.8177508879452944"},"directories":{},"publish_time":1455667685175,"_hasShrinkwrap":false,"_cnpm_publish_time":1455667685175,"_cnpmcore_publish_time":"2021-12-16T16:54:44.415Z"},"0.3.0":{"name":"json-pointer","description":"Some utilities for JSON pointers described by RFC 6901","version":"0.3.0","author":{"name":"Manuel Stofer","email":"manuel@takimata.ch"},"license":"MIT","dependencies":{"foreach":"^2.0.4"},"homepage":"https://github.com/manuelstofer/json-pointer","repository":{"type":"git","url":"git://github.com/manuelstofer/json-pointer.git"},"devDependencies":{"mocha":"^1.9.0","chai":"^1.9.1"},"scripts":{"test":"make test"},"bugs":{"url":"https://github.com/manuelstofer/json-pointer/issues"},"_id":"json-pointer@0.3.0","_shasum":"68ceb0dab6c9d5220275f7c1adeb42bff054b06f","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"manuelstofer","email":"manuel@takimata.ch"},"maintainers":[{"name":"esp","email":""},{"name":"manuelstofer","email":"manuel@takimata.ch"}],"dist":{"shasum":"68ceb0dab6c9d5220275f7c1adeb42bff054b06f","size":4752,"noattachment":false,"key":"/json-pointer/-/json-pointer-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/json-pointer/download/json-pointer-0.3.0.tgz"},"directories":{},"publish_time":1424772001684,"_hasShrinkwrap":false,"_cnpm_publish_time":1424772001684,"_cnpmcore_publish_time":"2021-12-16T16:54:44.605Z"},"0.2.2":{"name":"json-pointer","description":"Some utilities for JSON pointers described by RFC 6901","version":"0.2.2","author":{"name":"Manuel Stofer","email":"manuel@takimata.ch"},"license":"MIT","dependencies":{"foreach":"^2.0.4"},"homepage":"https://github.com/manuelstofer/json-pointer","repository":{"type":"git","url":"git://github.com/manuelstofer/json-pointer.git"},"devDependencies":{"mocha":"^1.9.0","chai":"^1.9.1"},"scripts":{"test":"make test"},"bugs":{"url":"https://github.com/manuelstofer/json-pointer/issues"},"_id":"json-pointer@0.2.2","_shasum":"1a78285d4650c50b10475f7f59919a99db8a164b","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"manuelstofer","email":"manuel@takimata.ch"},"maintainers":[{"name":"esp","email":""},{"name":"manuelstofer","email":"manuel@takimata.ch"}],"dist":{"shasum":"1a78285d4650c50b10475f7f59919a99db8a164b","size":4562,"noattachment":false,"key":"/json-pointer/-/json-pointer-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/json-pointer/download/json-pointer-0.2.2.tgz"},"directories":{},"publish_time":1411187077727,"_hasShrinkwrap":false,"_cnpm_publish_time":1411187077727,"_cnpmcore_publish_time":"2021-12-16T16:54:44.863Z"},"0.2.1":{"name":"json-pointer","description":"Some utilities for JSON pointers described by RFC 6901","version":"0.2.1","author":{"name":"Manuel Stofer","email":"manuel@takimata.ch"},"license":"MIT","dependencies":{"foreach":"^2.0.4"},"homepage":"https://github.com/manuelstofer/json-pointer","repository":{"type":"git","url":"git://github.com/manuelstofer/json-pointer.git"},"devDependencies":{"mocha":"^1.9.0","chai":"^1.9.1"},"scripts":{"test":"make test"},"bugs":{"url":"https://github.com/manuelstofer/json-pointer/issues"},"_id":"json-pointer@0.2.1","_shasum":"e7c0625f40277563e5fcc5cb636ff51aa860d741","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"manuelstofer","email":"manuel@takimata.ch"},"maintainers":[{"name":"esp","email":""},{"name":"manuelstofer","email":"manuel@takimata.ch"}],"dist":{"shasum":"e7c0625f40277563e5fcc5cb636ff51aa860d741","size":4573,"noattachment":false,"key":"/json-pointer/-/json-pointer-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/json-pointer/download/json-pointer-0.2.1.tgz"},"directories":{},"publish_time":1406693241202,"_hasShrinkwrap":false,"_cnpm_publish_time":1406693241202,"_cnpmcore_publish_time":"2021-12-16T16:54:45.053Z"},"0.1.0":{"name":"json-pointer","description":"Some utilities for JSON pointers described by RFC 6901","version":"0.1.0","author":{"name":"Manuel Stofer","email":"manuel@takimata.ch"},"license":"MIT","dependencies":{"foreach":"*"},"devDependencies":{"mocha":"1.9.0","chai":"*","component":"*","mocha-phantomjs":"*"},"scripts":{"test":"make test"},"testling":{"harness":"mocha","files":"test/*.js","browsers":["iexplore/6.0..latest","firefox/3.0","firefox/15.0..latest","firefox/nightly","chrome/4.0","chrome/22.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/5.0.5..latest","ipad/6.0..latest","iphone/6.0..latest"]},"readmeFilename":"Readme.md","_id":"json-pointer@0.1.0","dist":{"shasum":"d83ca0e374fd3cc5543e920545c53e248b2476e7","size":4718,"noattachment":false,"key":"/json-pointer/-/json-pointer-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/json-pointer/download/json-pointer-0.1.0.tgz"},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"manuelstofer","email":"manuel@takimata.ch"},"maintainers":[{"name":"esp","email":""},{"name":"manuelstofer","email":"manuel@takimata.ch"}],"directories":{},"publish_time":1383979026795,"_hasShrinkwrap":false,"_cnpm_publish_time":1383979026795,"_cnpmcore_publish_time":"2021-12-16T16:54:45.309Z"},"0.0.4":{"name":"json-pointer","description":"Some utilities for JSON pointers described by RFC 6901","version":"0.0.4","author":{"name":"Manuel Stofer","email":"manuel@takimata.ch"},"license":"MIT","dependencies":{"foreach":"*"},"devDependencies":{"mocha":"1.9.0","chai":"*","component":"*","mocha-phantomjs":"*"},"scripts":{"test":"make test"},"testling":{"harness":"mocha","files":"test/*.js","browsers":["iexplore/6.0..latest","firefox/3.0","firefox/15.0..latest","firefox/nightly","chrome/4.0","chrome/22.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/5.0.5..latest","ipad/6.0..latest","iphone/6.0..latest"]},"readmeFilename":"Readme.md","_id":"json-pointer@0.0.4","dist":{"shasum":"50a5128322523f4518e65086eecea36b7c02208a","size":4387,"noattachment":false,"key":"/json-pointer/-/json-pointer-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/json-pointer/download/json-pointer-0.0.4.tgz"},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"manuelstofer","email":"manuel@takimata.ch"},"maintainers":[{"name":"esp","email":""},{"name":"manuelstofer","email":"manuel@takimata.ch"}],"directories":{},"publish_time":1378640789444,"_hasShrinkwrap":false,"_cnpm_publish_time":1378640789444,"_cnpmcore_publish_time":"2021-12-16T16:54:45.533Z"},"0.0.3":{"name":"json-pointer","description":"Some utilities for JSON pointers described by RFC 6901","version":"0.0.3","author":{"name":"Manuel Stofer","email":"manuel@takimata.ch"},"license":"MIT","dependencies":{"foreach":"*"},"devDependencies":{"mocha":"*","chai":"*","component":"*","mocha-phantomjs":"*"},"scripts":{"test":"make test"},"readmeFilename":"Readme.md","_id":"json-pointer@0.0.3","dist":{"shasum":"20a6af9ebe2080eaf33ada808d534db2314f4b8e","size":3714,"noattachment":false,"key":"/json-pointer/-/json-pointer-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/json-pointer/download/json-pointer-0.0.3.tgz"},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"manuelstofer","email":"manuel@takimata.ch"},"maintainers":[{"name":"esp","email":""},{"name":"manuelstofer","email":"manuel@takimata.ch"}],"directories":{},"publish_time":1365359789292,"_hasShrinkwrap":false,"_cnpm_publish_time":1365359789292,"_cnpmcore_publish_time":"2021-12-16T16:54:45.747Z"},"0.0.2":{"name":"json-pointer","description":"Some utilities for JSON pointers described by RFC 6901","version":"0.0.2","author":{"name":"Manuel Stofer","email":"manuel@takimata.ch"},"license":"MIT","dependencies":{"foreach":"*"},"devDependencies":{"mocha":"*","chai":"*","component":"*","mocha-phantomjs":"*"},"scripts":{"test":"make test"},"readmeFilename":"Readme.md","_id":"json-pointer@0.0.2","dist":{"shasum":"5e581a8ae0a39a9380e7dbc6b8aff9e0987d8598","size":3371,"noattachment":false,"key":"/json-pointer/-/json-pointer-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/json-pointer/download/json-pointer-0.0.2.tgz"},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"manuelstofer","email":"manuel@takimata.ch"},"maintainers":[{"name":"esp","email":""},{"name":"manuelstofer","email":"manuel@takimata.ch"}],"directories":{},"publish_time":1365345492779,"_hasShrinkwrap":false,"_cnpm_publish_time":1365345492779,"_cnpmcore_publish_time":"2021-12-16T16:54:45.960Z"}},"readme":"# json-pointer\n\n[![Build Status](https://travis-ci.org/manuelstofer/json-pointer.svg?branch=master)](https://travis-ci.org/manuelstofer/json-pointer)\n[![npm version](https://badge.fury.io/js/json-pointer.svg)](https://www.npmjs.com/package/json-pointer)\n[![Coverage Status](https://coveralls.io/repos/github/manuelstofer/json-pointer/badge.svg?branch=master&service=github)](https://coveralls.io/github/manuelstofer/json-pointer?branch=master)\n\nSome utilities for JSON pointers described by RFC 6901\n\nProvides some additional stuff i needed but is not included in [node-jsonpointer](https://github.com/janl/node-jsonpointer)\n\n\n## Installation\n\n[node.js](http://nodejs.org)\n\n```bash\n$ npm install json-pointer\n```\n\n\n## API\n\n```Javascript\nvar pointer = require('json-pointer');\n```\n\n\n### .get(object, pointer)\n\nLooks up a JSON pointer in an object.\n\nArray of reference tokens, e.g. returned by api.parse, can be passed as a pointer to .get, .set and .remove methods.\n\n```Javascript\nvar obj = {\n    example: {\n        bla: 'hello'\n    }\n};\npointer.get(obj, '/example/bla');\n```\n\n\n### .set(object, pointer, value)\n\nSets a new value on object at the location described by pointer.\n\n```Javascript\nvar obj = {};\npointer.set(obj, '/example/bla', 'hello');\n```\n\n\n### .remove(object, pointer)\n\nRemoves an attribute of object referenced by pointer.\n\n```Javascript\nvar obj = {\n    example: 'hello'\n};\npointer.remove(obj, '/example');\n// obj -> {}\n```\n\n\n### .dict(object)\n\nCreates a dictionary object (pointer -> value).\n\n```Javascript\nvar obj = {\n    hello: {bla: 'example'}\n};\npointer.dict(obj);\n\n// Returns:\n// {\n//    '/hello/bla': 'example'\n// }\n```\n\n\n### .walk(object, iterator)\n\nJust like:\n\n```Javascript\neach(pointer.dict(obj), iterator);\n```\n\n\n### .has(object, pointer)\n\nTests if an object has a value for a JSON pointer.\n\n```Javascript\nvar obj = {\n    bla: 'hello'\n};\n\npointer.has(obj, '/bla');               // -> true\npointer.has(obj, '/non/existing');      // -> false\n```\n\n\n### .escape(str)\n\nEscapes a reference token.\n\n```Javascript\npointer.escape('hello~bla');            // -> 'hello~0bla'\npointer.escape('hello/bla');            // -> 'hello~1bla'\n```\n\n\n### .unescape(str)\n\nUnescape a reference token.\n\n```Javascript\npointer.unescape('hello~0bla');         // -> 'hello~bla'\npointer.unescape('hello~1bla');         // -> 'hello/bla'\n```\n\n\n### .parse(str)\n\nConverts a JSON pointer into an array of reference tokens.\n\n```Javascript\npointer.parse('/hello/bla');            // -> ['hello', 'bla']\n```\n\n\n### .compile(array)\n\nBuilds a json pointer from an array of reference tokens.\n\n```Javascript\npointer.compile(['hello', 'bla']);      // -> '/hello/bla'\n```\n\n\n### pointer(object, [pointer, [value]])\n\nConvenience wrapper around the api.\n\n```Javascript\npointer(object)                 // bind object\npointer(object, pointer)        // get\npointer(object, pointer, value) // set\n```\n\nThe wrapper supports chainable object oriented style.\n\n```Javascript\nvar obj = {anything: 'bla'};\nvar objPointer = pointer(obj);\nobjPointer.set('/example', 'bla').dict();\n```\n","_attachments":{},"homepage":"https://github.com/manuelstofer/json-pointer","bugs":{"url":"https://github.com/manuelstofer/json-pointer/issues"},"license":"MIT"}