Module: DB::MariaDB::Native::Types::JSON

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

Class Method Summary collapse

Class Method Details

.parse(string) ⇒ Object



65
66
67
# File 'lib/db/mariadb/native/types.rb', line 65

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