getAggResult

inline fun <T> Aggregations?.getAggResult(name: String, json: Json = DEFAULT_JSON): T
inline fun <T> Aggregations?.getAggResult(name: Enum<*>, json: Json = DEFAULT_JSON): T