summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Perrin <alex@kaworu.ch>2016-07-29 11:08:31 +0200
committerGitHub <noreply@github.com>2016-07-29 11:08:31 +0200
commitcb5cbae950982cf2a34b3c50de0a14ccfc2c1790 (patch)
tree6b0e0b62d22c98811ca31c391dad4ee897a01ad8
parent899f4969496ea74ef82121df6c8affdf163eb623 (diff)
downloadjson-cb5cbae950982cf2a34b3c50de0a14ccfc2c1790.tar.gz
README.md typo fix
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index d5ff32d..f9cd95d 100644
--- a/README.md
+++ b/README.md
@@ -115,7 +115,7 @@ generate a JSON document from an array or hash:
```ruby
document = JSON 'test' => 23 # => "{\"test\":23}"
-document = JSON['test'] => 23 # => "{\"test\":23}"
+document = JSON['test' => 23] # => "{\"test\":23}"
```
and