code: function array2object(array) {
      var result = {};
      array.forEach(function(e) {
          if (e) {
              var kv = e.trim().split(':');
              if (isNumber(kv[1])) {
                  kv[1] = Number(kv[1]);
              } else if (isBoolean(kv[1])) {
                  kv[1] = toBoolean(kv[1]);
              } else if (isDateType(kv[1])) {
                  kv[1] = convert2Date(kv[1]);
              };
              result[kv[0]] = kv[1];
          };
      });
      return result;
  }
docs: parse object from array.
  for example : [a:123,b:45] => {'a':123,'b':45}