[eeps] Joe Armstrong's suggestion for JSON<->Erlang BIFs

Richard A. O'Keefe ok@REDACTED
Fri Jul 25 04:13:17 CEST 2008


Joe Armstrong wrote:
     Since JSON seems to be ubiquitous
     it seems to me that there would be a strong case for a couple of  
new BIFs,
     term_to_json and json_to_term.
     These would work like binary_to_term and term_to_binary,
     the difference being that instead of converting to a binary  
containing the
     external term format, we convert to a binary containing a JSON  
encoded string.

I've written an EEP based on this.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: eep-json.txt
URL: <http://erlang.org/pipermail/eeps/attachments/20080725/39ad939f/attachment.txt>
-------------- next part --------------


--
If stupidity were a crime, who'd 'scape hanging?









More information about the eeps mailing list