code: func (s Session) convertSessionData(key string, target interface{}) (result interface{}, err error) {
  	sessionJsonMap := s.getSessionJsonMap()
  	v, found := sessionJsonMap[key]
  	if !found {
  		return target, SESSION_VALUE_NOT_FOUND
  	}
  
  	// Create a target if needed
  	if target == nil {
  		target = map[string]interface{}{}
  		if err := json.Unmarshal([]byte(v), &target); err != nil {
  			return target, err
  		}
  	} else if err := json.Unmarshal([]byte(v), target); err != nil {
  		return target, err
  	}
  	result = target
  	return
  }
docs: // Converts from the session json map into the target,