Module couchdb_ejson

Function Index

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

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.

post_decode/1

post_decode(Rest) -> any()


Generated by EDoc