Module couchbeam_ejson

Function Index

decode/1decode a binary to an EJSON term.
encode/1encode an erlang term to JSON.

Function Details

decode/1

decode(D::binary()) -> ejson()

decode a binary to an EJSON term. Throw an exception if there is any error.

encode/1

encode(D::ejson()) -> binary()

encode an erlang term to JSON. Throw an exception if there is any error.


Generated by EDoc, Aug 31 2012, 10:02:31.