title: Erlang JSON libraries: serialization performance?
body: <p>There are a number of JSON libraries available for Erlang, and it's not clear to me which have the best performance characteristics (and, secondarily, ease of use), especially for erlang-to-json serialization.</p>
  
  <p>My use case requires both JSON parsing and serialization, but the Erlang code will probably be producing at least two orders of magnitude more JSON output (i.e. serialization) than it will receive input.</p>
  
  <p>For reference, the libraries I know of include the following (and there may be others I haven't found):</p>
  
  <ul>
  <li><a href="http://www.erlware.org/lib/5.6.3/mochiweb-0.83/mochijson.html" rel="noreferrer">mochijson</a></li>
  <li><a href="http://www.erlware.org/lib/5.6.3/mochiweb-0.83/mochijson2.html" rel="noreferrer">mochijson2</a></li>
  <li><a href="http://hg.opensource.lshift.net/erlang-rfc4627/" rel="noreferrer">erlang-rfc4627</a></li>
  <li><a href="http://github.com/davisp/eep0018" rel="noreferrer">eep0018</a></li>
  </ul>