Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
4 votes
2 answers
813 views

How to decode, and then format, tagged LocalDateTime value

This is my Clojurescript function, (defn message-list [messages] (println messages) ;; stmt#1 [:ul.messages (for [{:keys [timestamp message name]} @messages] ^{:key timestamp} [:li ...
Adeel Ansari's user avatar
  • 39.9k
0 votes
1 answer
1k views

java.io.EOFException when parsing JSON with clojure Transit

I am reading from an input stream with (t/read request-body :json) and I get a java.lang.RuntimeException: java.io.EOFException. {"A":"B", "C":"D"} java.lang.RuntimeException: java.io.EOFException ...
wirrbel's user avatar
  • 3,299
2 votes
2 answers
1k views

How to write some transit-clj in a file and how to retrieve the data structure from this file

Say I have: (def c [{:id 12 :name "John"}]) How do I write this in a file? How do I get back this data structure?
leontalbot's user avatar
  • 2,543