Details
-
Type:
Enhancement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Declined
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
Here is some trivial workaround code I've been using:
(defn jsonable [o] (cond (map? o) (zipmap (keys o) (map jsonable (vals o))) (seq? o) (map jsonable o)))
Activity
Ben Smith-Mannschott
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Description |
Here is some trivial workaround code I've been using:
(defn jsonable [o] (cond (map? o) (zipmap (keys o) (map jsonable (vals o))) (seq? o) (map jsonable o))) |
Here is some trivial workaround code I've been using:
{code} (defn jsonable [o] (cond (map? o) (zipmap (keys o) (map jsonable (vals o))) (seq? o) (map jsonable o))) {code} |
Stuart Sierra
made changes -
| Resolution | Declined [ 2 ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |