PG::TextDecoder::

JSON

class
Superclass
PG::SimpleDecoder

Public Instance Methods

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