PG::TextEncoder::

JSON

class
Superclass
PG::SimpleEncoder

Public Instance Methods

anchor
encode(value)
# File lib/pg/text_encoder.rb, line 33
def encode(value)
        ::JSON.generate(value, quirks_mode: true)
end