import*as symbolsSupportJsonUtils from"@arcgis/core/symbols/support/jsonUtils";import{isArcGisApiVersion3x}from"./ArcGisApiVersion.js";class SymbolFromJson{execute(o,s){if(!o.json)return{symbol:void 0};o="string"==typeof o.json?JSON.parse(o.json):o.json;const r=symbolsSupportJsonUtils;return{symbol:isArcGisApiVersion3x?r.fromJson(o):r.fromJSON(o)}}}SymbolFromJson.action="gcx:wf:arcgis::SymbolFromJson",SymbolFromJson.suite="gcx:wf:builtin";export{SymbolFromJson};