| 52 | } |
| 53 | |
| 54 | NodeOutput jsonToNodeOutput(Json const& json) { |
| 55 | return { |
| 56 | NodeParameterTypeNames.getLeft(json.getString("type")), |
| 57 | {jsonToMaybe<String>(json.get("key"), [](Json const& j) { return j.toString(); }), json.optBool("ephemeral").value(false)} |
| 58 | }; |
| 59 | } |
| 60 | |
| 61 | EnumMap<BehaviorNodeType> const BehaviorNodeTypeNames { |
| 62 | {BehaviorNodeType::Action, "Action"}, |