Writing clojure maps/arrays to a file and reading them back

后端 未结 3 967
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-13 18:05

I need to save clojure maps to a file and read them back later to process them.

This is what I could come up with. Is there a better way to accomplish the same thing?

3条回答
  •  囚心锁ツ
    2021-02-13 18:35

    Take a look at this question that deals with print-dup and serializing forms. It has a better coverage of the trade-offs and security issues involved with each method.

提交回复
热议问题