I wrote a blog post a while back on working with EDN, which could be
helpful:
http://www.compoundtheory.com/clojure-edn-walkthrough/
>From there, fire up a REPL, load in clojure.edn, and start converting
vectors and maps to EDN and see what the format looks like :)
Mark
On Mon, Apr 21, 2014 at
Found the project I lifted my config code from, it's this one:
https://github.com/bellkev/dacom
Look through that, it should give you a good starting point. If you still
have questions, feel free to ask and we'll try to help.
--
You received this message because you are subscribed to the Goo
1. In its simplest form, EDN is just clojure data literals. So for simple
cases like configuration, just use a map:
{ :database-uri "some-uri"
:another-param "some value"
:debug-mode true }
2. You can use clojure.java.io/resource to access resources, but for config
files you usually don't
Hi,
I want to save the configuration of my application in edn file.
Lein is used (of course). I want to pub my config.edn under /resources
directory.
But honestly, I don't know the format of edn. I tried to google it, but I
didn't get anything helpful. The format is in its early stages.
So, m