"use strict";Object.defineProperty(exports, "__esModule", {value: true});

var _chunkS2Z5L3RBjs = require('./chunk-S2Z5L3RB.js');


var _chunkSQA7G4TEjs = require('./chunk-SQA7G4TE.js');


var _chunk6C3VEZWHjs = require('./chunk-6C3VEZWH.js');

// src/Json.ts
var Json_exports = {};
_chunk6C3VEZWHjs.__export.call(void 0, Json_exports, {
  parse: () => parse,
  stringify: () => stringify
});
var parse = (s) => _chunkS2Z5L3RBjs.tryCatch.call(void 0, () => JSON.parse(s), _chunkSQA7G4TEjs.identity);
var stringify = (a) => _chunkS2Z5L3RBjs.tryCatch.call(void 0, () => {
  const s = JSON.stringify(a);
  if (typeof s !== "string") {
    throw new Error("Converting unsupported structure to JSON");
  }
  return s;
}, _chunkSQA7G4TEjs.identity);





exports.parse = parse; exports.stringify = stringify; exports.Json_exports = Json_exports;
