edn Questions
1
What is happening when I get this error in Clojure?
java.lang.RuntimeException: No reader function for tag db/id
Brook asked 23/8, 2017 at 1:31
1
I'm trying to use a standard serialization for Clojure code, one that will ignore white spaces, comments etc. I was thinking of using EDN for that.
According to the what I read, the standard way t...
3
I am not clear about the relationship between all these read-string functions. Well, it is clear that clojure.core/read-string can read any serialized string that is output by pr[n] or even print-d...
Pooi asked 9/7, 2014 at 18:53
1
Solved
I would like to write out an EDN data file from Clojure as tagged literals. Although the clojure.edn API contains read and read-string, there are no writers. I'm familiar with the issue reported he...
1
Solved
I've been reading the edn spec and want to integrate it into my application. However, I don't know how to transfer edn requests between clojure and client. Do we put a content-type application/edn ...
2
Solved
I tried to follow the documentation for clojure.instant/read-instant-timestamp, which reads:
clojure.instant/read-instant-timestamp
To read an instant as a java.sql.Timestamp, bind *data-readers...
2
Solved
Clojure 1.5 introduced clojure.edn, which includes a read function that requires a PushbackReader.
If I want to read the first five objects, I can do:
(with-open [infile (java.io.PushbackReader. ...
1
© 2022 - 2024 — McMap. All rights reserved.