class PG::TextDecoder::JSON

As soon as this class is used, it requires the ruby standard library ‘json’.
This is a decoder class for conversion of PostgreSQL JSON/JSONB type to Ruby Hash, Array, String, Numeric, nil values.

def decode(string, tuple=nil, field=nil)

def decode(string, tuple=nil, field=nil)
	::JSON.parse(string, quirks_mode: true)
end