Class: PGI::Connection::JSONDecoder
- Inherits:
-
PG::SimpleDecoder
- Object
- PG::SimpleDecoder
- PGI::Connection::JSONDecoder
- Defined in:
- lib/pgi/connection.rb
Instance Method Summary collapse
Instance Method Details
#decode(string, _tuple = nil, _field = nil) ⇒ Object
6 7 8 |
# File 'lib/pgi/connection.rb', line 6 def decode(string, _tuple = nil, _field = nil) ::JSON.parse(string, quirks_mode: true, symbolize_names: true) end |