"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.JSONParse = void 0;
const namespace = "Objects";
exports.JSONParse = {
    id: "JSON Parse",
    defaultStyle: {
        icon: "fa-glasses",
    },
    namespace,
    description: "Parses a JSON string into an object",
    inputs: { json: { description: "JSON string to parse" } },
    outputs: { object: { description: "The parsed object" } },
    run: ({ json }, { object }) => object.next(JSON.parse(json)),
};
