com.thortech.data.edn documentation

Generate edn by printing using the IPrintble protocol
to a writer that impliments the IWriter protocol.

edn

(edn data writer opts)
Print edn data to writer using opts.

edn-forms

(edn-forms coll writer opts)
Print the contents of coll to writer using opts

file

(file file-path data opts)
Creates a file of edn data.

file-gen

(file-gen file-generation-fn path-gen data-gen n opts)
using a file-generation-fn (of signiture [path data opts]), a path-gen fn
and a data-gen fn, creates n files passing through opts

file-of-many

(file-of-many generator file-path opts)(file-of-many generator sizer file-path opts)
Using generator, creates a file of many generated things at top level.

forms-file

(forms-file file-path coll opts)
Creates a files of edn containing the forms in coll.

forms-string

(forms-string coll opts)
Create an edn string with the contents of coll.
Passing opts through to a StringWriter.

many-files

(many-files path-gen data-gen n opts)
using a path-gen fn and a data-gen fn
creates n files passing through opts

many-forms-files

(many-forms-files path-gen data-gen n opts)
using a path-gen fn and a data-gen fn
creates n forms-files passing through opts

many-of

(many-of edn-gen-fn data-generator n opts)
using an edn-gen-fn (of signiture [data opts])

string

(string data opts)
Creates an edn string from data. Passing opts through to a StringWriter.

write-file

(write-file data writer opts)
Creates a file of edn data.

write-forms-file

(write-forms-file coll writer opts)
Creates a files of edn containing the forms in coll.