more adjustments for github parsing

This commit is contained in:
alisdair sullivan 2011-11-30 22:27:26 -08:00
parent 50270f2cea
commit 51732e5357

View file

@ -17,6 +17,7 @@ to build jsx, `make` or `./rebar compile`
parses a JSON text (a utf8 encoded binary) and produces an erlang term (see json <-> erlang mapping details below) parses a JSON text (a utf8 encoded binary) and produces an erlang term (see json <-> erlang mapping details below)
`json_to_term(JSON) -> Term` `json_to_term(JSON) -> Term`
`json_to_term(JSON, Opts) -> Term` `json_to_term(JSON, Opts) -> Term`
types: types:
@ -33,6 +34,7 @@ if the option `loose_unicode` is present invalid codepoints are replaced with `u
produces a JSON text from an erlang term (see json <-> erlang mapping details below) produces a JSON text from an erlang term (see json <-> erlang mapping details below)
`term_to_json(Term) -> JSON` `term_to_json(Term) -> JSON`
`term_to_json(Term, Opts) -> JSON` `term_to_json(Term, Opts) -> JSON`
types: types:
@ -59,6 +61,7 @@ if the option `escape_forward_slash` is enabled, `$/` is escaped. this is not no
produces a JSON text from JSON text, reformatted produces a JSON text from JSON text, reformatted
`format(JSON) -> JSON` `format(JSON) -> JSON`
`format(JSON, Opts) -> JSON` `format(JSON, Opts) -> JSON`
see `term_to_json/1,2` for types and options see `term_to_json/1,2` for types and options