I hope I understood you correctly. You basically don't want to use
println if you want to print data in such a way that it can be read in
again. For that you need to use pr, prn or pr-str.
Example:
(println {:a "hi there"}) will print {:a hi there}
(prn {:a "hi there"}) will print {:a "hi there"}
(println "Ex: " (pr-str {:a "hi there"})) will print Ex: {:a "hi there"}
In other words I suspect that your example's :paymentStatus is the
string "QUEUED" already. You can check if a value v is a string with
(string? v).
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.