From def9be2c5b5bd180bf5821624bf1270d2f578c93 Mon Sep 17 00:00:00 2001 From: Mike Perham Date: Mon, 4 Mar 2024 08:17:13 -0800 Subject: [PATCH] Update README.md Remove reference to non-existent 'json/add/rails' and needless require implementation trivia. --- README.md | 9 --------- 1 file changed, 9 deletions(-) diff --git a/README.md b/README.md index 981313ee..ce3c2457 100644 --- a/README.md +++ b/README.md @@ -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`