https://github.com/sonsoleslp/doe
Diagrama de Onda Estacionaria
https://github.com/sonsoleslp/doe
Last synced: about 2 months ago
JSON representation
Diagrama de Onda Estacionaria
- Host: GitHub
- URL: https://github.com/sonsoleslp/doe
- Owner: sonsoleslp
- License: mit
- Created: 2015-06-11T16:26:29.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-07T20:56:36.000Z (over 9 years ago)
- Last Synced: 2025-02-12T07:04:19.864Z (4 months ago)
- Language: JavaScript
- Size: 7.88 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JSON Pointer for nodejs
This is an implementation of [JSON Pointer](http://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-08).
## Usage
var jsonpointer = require("jsonpointer");
var obj = { foo: 1, bar: { baz: 2}, qux: [3, 4, 5]};
var one = jsonpointer.get(obj, "/foo");
var two = jsonpointer.get(obj, "/bar/baz");
var three = jsonpointer.get(obj, "/qux/0");
var four = jsonpointer.get(obj, "/qux/1");
var five = jsonpointer.get(obj, "/qux/2");jsonpointer.set(obj, "/foo", 6); // obj.foo = 6;
## Testing
$ node test.js
All tests pass.
$[](undefined)
## Author
(c) 2011 Jan Lehnardt
## License
MIT License.