'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = objectToStringifiedTupleArray;

var _foreach;

function _load_foreach() {
  return _foreach = _interopRequireDefault(require('./object/foreach'));
}

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function objectToStringifiedTupleArray(obj) {
  var arr = [];
  (0, (_foreach || _load_foreach()).default)(obj, function (val, key) {
    arr.push([key, typeof val === 'object' ? JSON.stringify(val) : val]);
  });
  return arr;
}