Preserve UTF-8 encoding when reallocating a frozen ResumableParser buffer by pocke · Pull Request #1037 · ruby/json

JSON::ResumableParser#<< raises Encoding::CompatibilityError when the first chunk is a frozen multibyte UTF-8 string and more data is fed after a partial parse. Reproduction require "jso...