'use strict';

/**
 * JSON utility functions.
 *
 * @module json
 */

/**
 * Transform JavaScript object to JSON.
 *
 * @param {any} object
 * @return {string}
 */
const stringify = JSON.stringify;

/**
 * Parse JSON object.
 *
 * @param {string} json
 * @return {any}
 */
const parse = JSON.parse;

var json = /*#__PURE__*/Object.freeze({
	__proto__: null,
	stringify: stringify,
	parse: parse
});

exports.json = json;
exports.parse = parse;
exports.stringify = stringify;
//# sourceMappingURL=json-092190a1.cjs.map
