Module: DB::Postgres::Native::Types::JSON

Defined in:
lib/db/postgres/native/types.rb

Class Method Summary collapse

Class Method Details

.parse(string) ⇒ Object



72
73
74
# File 'lib/db/postgres/native/types.rb', line 72

def self.parse(string)
	::JSON.parse(string, symbolize_names: true) if string
end