define(["require","exports","../../Validation"],function(t,o,n){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var e=(i.prototype.execute=function(t){var o=n.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}},i.action="gcx:wf:core::ConvertToJson",i.suite="gcx:wf:builtin",i);function i(){}o.ConvertToJson=e});