toActionEvents

fun <G : GameActionEvent> String.toActionEvents(addAll: Boolean = false): List<G>
fun <G : GameActionEvent> JsonNode.toActionEvents(addAll: Boolean = false): List<G>

Parses a List from a JsonNode. This parser is used both to set the defaultValue of a ScriptConfigurationOption and to parse the ScriptProfiles from SDN

If old profile is detected, and empty list is send back instead