!function(t){"object"==typeof module&&"object"==typeof module.exports?t(require,exports):"function"==typeof define&&define.amd&&define(["require","exports","../../Validation"],t)}(function(t,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var e=t("../../Validation"),t=(n.prototype.execute=function(t){var o=e.validation.exists("object",t.object,null),t=null;return{json:t="string"!=typeof(t=null!=o?"function"==typeof o.toJson?o.toJson():"function"==typeof o.toJSON?o.toJSON():JSON.stringify(o):JSON.stringify(o))?JSON.stringify(t):t}},n.action="gcx:wf:core::ConvertToJson",n.suite="gcx:wf:builtin",n);function n(){}o.ConvertToJson=t});