jsonQ.js
function(json, path) {
            var i = 0,

                ln = path.length;

            if (json === null) {
                return null;
            }
            while (i < ln) {
                if (json[path[i]] === null) {
                    json = null;
                    return;
                } else {
                    json = json[path[i]];
                }
                i = i + 1;
            }
            return json;
        }
function(json, path) {
            var i = 0,

                ln = path.length;

            if (json === null) {
                return null;
            }
            while (i < ln) {
                if (json[path[i]] === null) {
                    json = null;
                    return;
                } else {
                    json = json[path[i]];
                }
                i = i + 1;
            }
            return json;
        }
function ( json , path ) { var i = 0 , ln = path . length ; if ( json === null ) { return null ; } while ( i < ln ) { if ( json [ path [ i ] ] === null ) { json = null ; return ; } else { json = json [ path [ i ] ] ; } i = i + 1 ; } return json ; }
to get value at specific path in a json
to get value at specific path in a json