This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
Emakefile | Thu Oct 23 12:23:54 -0700 2008 | [tim] |
| |
License.txt | Tue May 13 02:15:12 -0700 2008 | [tim] |
| |
Makefile | Thu Oct 23 12:26:56 -0700 2008 | [tim] |
| |
README.txt | Thu Oct 23 12:27:53 -0700 2008 | [tim] |
| |
src/ | Thu Oct 23 12:26:46 -0700 2008 | [tim] |
README.txt
============ erlang-rison ============ What is this? ------------- A Rison encoder/decoder written in Erlang. What is Rison? -------------- A data serialization format optimized for compactness in URIs. See http://mjtemplate.org/examples/rison.html for more information. How do I use it? ---------------- To convert Rison-formatted strings into Erlang terms, use rison:load/1. To do the opposite, use rison:dump/1. For example: 1> rison:load("!t"). {ok, true} 2> rison:load("!(1,2,3)"). {ok,{array,[1,2,3]}} 3> rison:load("123.456e789"). {ok,{number,123,'456',789}} 4> rison:load("abc def"). {error,invalid_input} 5> rison:dump({array,[1,2,3]}). {ok,"!(1,2,3)"} 6> rison:dump({object,[{a,0}]}). {ok,"(a:0)"} 7> rison:dump({}). {error,invalid_input} Type "make i" to compile the code and get an Erlang shell where you can try out these examples.




