(defn tabular-data->map [td]
(into {}
; the need for into-array here was a surprise, and may not
; work for all examples. Are keys always arrays?
(map (fn [k]
[(simplify-tabular-data-key k) (jmx->clj (.get td (into-array k)))])
(.keySet td))))
Comments top
No comments for tabular-data->map. Log in to add a comment.