define(["require","exports","./esriDelegate!esri/tasks/support/FeatureSet","./ArcGisApiVersion"],function(e,t,r,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=(o.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:i.isArcGisApiVersion3x?new r.FeatureSet(e):r.FeatureSet.fromJSON(e)}},o.action="gcx:wf:arcgis::FeatureSetFromJson",o.suite="gcx:wf:builtin",o);function o(){}t.FeatureSetFromJson=s});