Skip to content

End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

class method

JSON.iconv

iconv(to, from, string)

Encodes string using String.encode.