edn-format / edn

Extensible Data Notation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

support for formfeed character

shaunxcode opened this issue · comments

It appears that \formfeed (\f) is also a valid character along with \newline \return etc. If this is the case the spec should be updated to reflect it? (I am basing its validity on the basis that clojure.edn/read-string accepts it).

It's not allowed. At some point edn/read-string should disallow, but edn/read-string's purpose is not to validate incorrect edn, but rather to read correct edn.