moooore format fixes

This commit is contained in:
alisdair sullivan 2012-05-25 10:14:20 -07:00
parent abe3e1958a
commit efcea75c43

View file

@ -167,8 +167,9 @@ however, it is important to recognize that jsx is greedy by default. jsx will co
## data types ## ## data types ##
* `json_term()`
* ```erlang ```erlang
json_term() = [json_term()] json_term() = [json_term()]
| [{binary() | atom(), json_term()}] | [{binary() | atom(), json_term()}]
| true | true
@ -179,13 +180,17 @@ however, it is important to recognize that jsx is greedy by default. jsx will co
| binary() | binary()
``` ```
* the erlang representation of json. binaries should be `utf8` encoded (but see below in options) the erlang representation of json. binaries should be `utf8` encoded (but see below in options)
* `json_text()`
```erlang ```erlang
json_text() = binary() json_text() = binary()
``` ```
* a utf8 encoded binary containing a json string a utf8 encoded binary containing a json string
* `tokens()` & `token()`
```erlang ```erlang
tokens() = token() | [token()] tokens() = token() | [token()]
@ -211,7 +216,9 @@ however, it is important to recognize that jsx is greedy by default. jsx will co
| end_json | end_json
``` ```
* the internal representation used during syntactic analysis the internal representation used during syntactic analysis
* `event()`
```erlang ```erlang
event() = start_object event() = start_object
@ -228,7 +235,9 @@ however, it is important to recognize that jsx is greedy by default. jsx will co
| end_json | end_json
``` ```
* the internal representation used during semantic analysis the internal representation used during semantic analysis
* `options()` & `option()`
```erlang ```erlang
options() = [option()] options() = [option()]