Merge branch 'develop'
This commit is contained in:
commit
c33a87c4ce
2 changed files with 45 additions and 16 deletions
|
@ -43,13 +43,13 @@ jsx may be built using either [sinan][sinan] or [rebar][rebar]
|
|||
#### to build the library and run tests ####
|
||||
|
||||
```bash
|
||||
tanga:jsx alisdair$ sinan build
|
||||
tanga:jsx alisdair$ sinan -r tests eunit
|
||||
$ sinan build
|
||||
$ sinan -r tests eunit
|
||||
```
|
||||
or
|
||||
```bash
|
||||
tanga:jsx alisdair$ rebar compile
|
||||
tanga:jsx alisdair$ rebar eunit
|
||||
$ rebar compile
|
||||
$ rebar eunit
|
||||
```
|
||||
|
||||
#### to convert a utf8 binary containing a json string into an erlang term ####
|
||||
|
@ -264,7 +264,7 @@ jsx functions all take a common set of options. not all flags have meaning in al
|
|||
|
||||
- `escaped_forward_slashes`
|
||||
|
||||
json strings are escaped according to the json spec. this means forward slashes (solidus) are optionally escaped. this option is only relevant for encoding; you may want to use this if you are embedding json directly into a html or xml document
|
||||
json strings are escaped according to the json spec. this means forward slashes (solidus) are only escaped when this flag is present. otherwise they are left unescaped. this option is only relevant for encoding; you may want to use this if you are embedding json directly into a html or xml document
|
||||
|
||||
- `single_quoted_strings`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue