diff --git a/README.md b/README.md index d5ff32d7..f9cd95d5 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