Skip to content

Latest commit

 

History

History
48 lines (27 loc) · 1.06 KB

couchbeam_ejson.md

File metadata and controls

48 lines (27 loc) · 1.06 KB

Module couchbeam_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()