class PG::TextDecoder::JSON

Public Instance Methods

decode(string, tuple=nil, field=nil) click to toggle source
# File lib/pg/text_decoder.rb, line 19
def decode(string, tuple=nil, field=nil)
        ::JSON.parse(string, quirks_mode: true)
end