On Wed, May 25, 2011 at 9:04 PM, ron peterson <peterson.ron...@gmail.com> wrote:
> Hi,
>
> If I have a following string for example:
>
> [{:a "blah" :b 23}(:d 34 :c "hello"}]
>
> how can I convert it to a clojure data structure?

=> (read-string "[{:a \"blah\" :b 23}{:d 34 :c \"hello\"}])
[{:a "blah" :b 23}{:d 34 :c "hello"}]
=>

-- 
Protege: What is this seething mass of parentheses?!
Master: Your father's Lisp REPL. This is the language of a true
hacker. Not as clumsy or random as C++; a language for a more
civilized age.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to