README edits
This commit is contained in:
parent
f015517d49
commit
623b94bfc3
1 changed files with 7 additions and 9 deletions
|
@ -66,15 +66,13 @@ see `term_to_json/1,2` for types and options
|
||||||
|
|
||||||
## json <-> erlang ##
|
## json <-> erlang ##
|
||||||
|
|
||||||
**json** | **erlang**
|
**json** | **erlang**
|
||||||
----------------|----------------
|
--------------------------------|--------------------------------
|
||||||
`number` | `integer()` | `float()`
|
`number` | `integer()` | `float()`
|
||||||
`string` | `binary()`
|
`string` | `binary()`
|
||||||
`true` | `true`
|
`true`, `false` and `null` | `true`, `false` and `null`
|
||||||
`false` | `false`
|
`array` | `list()`
|
||||||
`null` | `null`
|
`object` | `[{}]` | `[{binary(), JSON}]`
|
||||||
`array` | `list()`
|
|
||||||
`object` | `[{}]` | `[{binary(), JSON}]`
|
|
||||||
|
|
||||||
**json**
|
**json**
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue