toAny

fun JsonElement.toAny(): Any?

Converts a JsonElement tree into plain Kotlin values — null, List<Any?>, Map<String, Any?>, or a primitive (String, Boolean, Int, Long, Double, tried in that order for a numeric-looking string, falling back to the raw string content if none match). This is how a network response body or incomingData ends up as ordinary maps/lists an event chain can navigate with EvaluateData/GetData, rather than staying a typed JsonElement tree the DSL author would otherwise have to unwrap by hand.