"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parseJsonMTConverter = exports.parseArrayMTConverter = void 0;
const parseArrayMTConverter = (body) => {
    return JSON.stringify(body)
        .split("\\")
        .join("")
        .split('{"[{"')
        .join('[{"')
        .split('":""}')
        .join("")
        .split('{"[,{"')
        .join('[{"');
};
exports.parseArrayMTConverter = parseArrayMTConverter;
const parseJsonMTConverter = (body) => {
    return ("{" +
        JSON.stringify(body)
            .split("\\")
            .join("")
            .split('{"{')[1]
            .split('":""}')[0]
            .split("\\")
            .join(""));
};
exports.parseJsonMTConverter = parseJsonMTConverter;
