Sha256: 67e4ae1542e4c7e6bd7837b72e10c88c17d0b9c1b901fb9f3e105993593d05f1
Contents?: true
Size: 232 Bytes
Versions: 3
Compression:
Stored size: 232 Bytes
Contents
# -*- ruby -*- # frozen_string_literal: true require 'json' module YugabyteYSQL module TextEncoder class JSON < SimpleEncoder def encode(value) ::JSON.generate(value, quirks_mode: true) end end end end # module PG
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
yugabyte_ysql-0.3 | lib/pg/text_encoder/json.rb |
yugabyte_ysql-0.2 | lib/pg/text_encoder/json.rb |
yugabyte_ysql-0.1 | lib/pg/text_encoder/json.rb |