---
category: reference
heading: "get(document)"
---

Returns the value pointed to by the pointer in the given doc.

* document - The document to operate against.

Examples

    var value = new JSONPointer("/obj/value").get({obj: {value: "hello"}});
    // value now equals 'hello'

Returns the value
