!function(e){"object"==typeof module&&"object"==typeof module.exports?e(require,exports):"function"==typeof define&&define.amd&&define(["require","exports","./esriDelegate!esri/tasks/support/FeatureSet","./ArcGisApiVersion"],e)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=e("./esriDelegate!esri/tasks/support/FeatureSet"),o=e("./ArcGisApiVersion"),e=(i.prototype.execute=function(e,t){if(!e.json)return{featureSet:void 0};e="string"==typeof e.json?JSON.parse(e.json):e.json;return{featureSet:o.isArcGisApiVersion3x?new r.FeatureSet(e):r.FeatureSet.fromJSON(e)}},i.action="gcx:wf:arcgis::FeatureSetFromJson",i.suite="gcx:wf:builtin",i);function i(){}t.FeatureSetFromJson=e});