Sha256: c3ccda638288aa6609a1fd84a197d328ac1f440fdfcaa37a1bc9301236d5ce46

Contents?: true

Size: 253 Bytes

Versions: 3

Compression:

Stored size: 253 Bytes

Contents

# -*- ruby -*-
# frozen_string_literal: true

require 'json'

module YugabyteYSQL
	module TextDecoder
		class JSON < SimpleDecoder
			def decode(string, tuple=nil, field=nil)
				::JSON.parse(string, quirks_mode: true)
			end
		end
	end
end # module PG

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yugabyte_ysql-0.3 lib/pg/text_decoder/json.rb
yugabyte_ysql-0.2 lib/pg/text_decoder/json.rb
yugabyte_ysql-0.1 lib/pg/text_decoder/json.rb