Skip to content

Commit

Permalink
Fixed mistake in README
Browse files Browse the repository at this point in the history
  • Loading branch information
rxi committed Aug 30, 2015
1 parent cd8ecd3 commit 45cd518
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ json.decode('[1,2,3,{"x":10}]') -- Returns { 1, 2, 3, { x = 10 } }

## Notes
* Trying to encode values which are unrepresentable in JSON will never result
in type conversion or other magic: sparse arrays, tables with mixed keys or
invalid numbers (NaN, -inf, inf) will raise an error
in type conversion or other magic: sparse arrays, tables with mixed key types
or invalid numbers (NaN, -inf, inf) will raise an error
* `null` values contained within an array or object are converted to `nil` and
are therefore lost upon decoding
* *Pretty* encoding is not supported, `json.encode()` only encodes to a compact
Expand Down

0 comments on commit 45cd518

Please sign in to comment.