I've recently been serialising some data using Edn, and to date this has caused no problems. During some tests today, I serialised a string representing a file path that originated on a windows machine "\My Documents\somedoc.txt". Edn throws a runtime exception when reading this back claiming:
java.lang.RuntimeException: Unsupported escape character: \M Of course it's possible for me to sanitise all strings going out to Edn, replacing \ with \\, but I wondered if there's a better way to do this. Could Edn read-string opts be used to persuade read-string to behave more conveniently ? Alternatively should I be using Transit instead ? If I stick with Edn are there any other gotchas that should be sanitised ? -- 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 --- 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 clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.