lib/httpx/transcoder/json.rb in httpx-1.3.1 vs lib/httpx/transcoder/json.rb in httpx-1.3.2

- old
+ new

@@ -13,9 +13,11 @@ def_delegator :@raw, :to_s def_delegator :@raw, :bytesize + def_delegator :@raw, :== + def initialize(json) @raw = JSON.json_dump(json) @charset = @raw.encoding.name.downcase end