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