Class: AlgebraDB::Value::JSONB::Decoder

Inherits:
Exec::Decoder show all
Defined in:
lib/algebra_db/value/jsonb.rb

Overview

Decoder just decodes to a hash.

Instance Method Summary collapse

Methods inherited from Exec::Decoder

#decode_value

Instance Method Details

#pg_decoderObject



9
10
11
# File 'lib/algebra_db/value/jsonb.rb', line 9

def pg_decoder
  PG::TextDecoder::JSON.new
end