"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.serializeAiExtractResponse = serializeAiExtractResponse;
exports.deserializeAiExtractResponse = deserializeAiExtractResponse;
const json_1 = require("../serialization/json");
function serializeAiExtractResponse(val) {
    return Object.fromEntries(Object.entries(val).map(([k, v]) => [
        k,
        (function (v) {
            return v;
        })(v),
    ]));
}
function deserializeAiExtractResponse(val) {
    return (0, json_1.sdIsMap)(val)
        ? Object.fromEntries(Object.entries(val).map(([k, v]) => [
            k,
            (function (v) {
                return v;
            })(v),
        ]))
        : {};
}
//# sourceMappingURL=aiExtractResponse.js.map