Update.
I've played around with pr-str and prn-str in the repl, and discovered that
they both should work fine. In fact it turns out that my problem is nothing
to do with Edn or anything Clojuresque at all, and in fact everything to do
with the database that's responsible for the storage. *grum
Thanks for both suggestions guys, and yes - I'm using prn-str - apparently
the wrong one. It's a trivial change so I will start there.
Thanks again, appreciate it.
Andy
On Tuesday, November 25, 2014 2:00:44 PM UTC, James Reeves wrote:
>
> On 25 November 2014 at 12:23, Andy Dwelly > wrote:
>
>
On 25 November 2014 at 12:23, Andy Dwelly wrote:
> 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 throw
Hi Andy,
If I stick with Edn are there any other gotchas that should be sanitised ?
The specs of String literals is a bit implicit :
https://github.com/edn-format/edn#strings refers to
https://docs.oracle.com/javase/specs/jls/se7/html/jls-3.html#jls-3.10.6 .
I think there are no ways to per
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: