code: 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;
          }
docs: to get value at specific path in a json