code: function(key)
          {
              // get value
              var val = this.getItem(key);
  
              // if null, return null
              if (val === null) {
                  return null;
              }
  
              // parse and return value
              return JSON.parse(val);
          }
docs: Get a json serializable value. This basically calls JSON.parse on the returned value.
  @param key: Item key to get (string).
  @return: Stored value, or undefined if not set / expired.