summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-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