rails--rails/activesupport/test/json
Rafael Mendonça França e7d207f02f
Change `IPAddr#to_json` to match the behavior of the json gem
Returning the string representation instead of the instance
variables of the object.

    Before:

    ```ruby
    IPAddr.new("127.0.0.1").to_json
    # => "{\"addr\":2130706433,\"family\":2,\"mask_addr\":4294967295}"
    ```

    After:

    ```ruby
    IPAddr.new("127.0.0.1").to_json
    # => "\"127.0.0.1\""
    ```

Fixes #40932.
2020-12-28 05:46:09 +00:00
..
decoding_test.rb Decoding JSON dates should respect newlines 2020-05-21 13:04:01 +02:00
encoding_test.rb ✂️ [ci skip] 2020-09-16 09:52:10 +09:00
encoding_test_cases.rb Change `IPAddr#to_json` to match the behavior of the json gem 2020-12-28 05:46:09 +00:00