On Thursday, 7 January 2016 18:10:22 UTC+1, Nicolás Berger wrote:
> Pretty old thread, but it turns out there's a bug in the 1-arity version of
> js->clj: it passes a map instead of keyword arguments to set the default of
> :keywordize-keys false. It works fine, because keywordize-keys ends as nil by
> default, which is falsey of course... But when you (or me, like I did a few
> minutes ago :) ) try to do the same but passing {:keywordize-keys true} you
> find that it doesn't work as you expect.
>
> Just sent a patch to fix this: http://dev.clojure.org/jira/browse/CLJS-1540
The option ":keywordize-keys" still doesn't work for me.
Usage: (js->clj response :keywordize-keys true))
I still get the stringed-key array-map.
Any ideas why?
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/clojurescript.