Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Remove reference to non-existent 'json/add/rails' and needless require implementation trivia.
  • Loading branch information
mperham committed Mar 4, 2024
1 parent 92c91e2 commit def9be2
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,15 +140,6 @@ JSON JSON(1..10) # => 1..10
To find out how to add JSON support to other or your own classes, read the
section "More Examples" below.

To get the best compatibility to rails' JSON implementation, you can

```ruby
require 'json/add/rails'
```

Both of the additions attempt to require `'json'` (like above) first, if it has
not been required yet.

## Serializing exceptions

The JSON module doesn't extend `Exception` by default. If you convert an `Exception`
Expand Down

0 comments on commit def9be2

Please sign in to comment.