Sha256: 0b82aa35f1d01d1a56713ee6b8f74364af52e8f44e223a36d0a4e6743cbac8f8
Contents?: true
Size: 336 Bytes
Versions: 9
Compression:
Stored size: 336 Bytes
Contents
require 'json' module PikaQue module Codecs module JSON extend self def encode(payload) ::JSON.generate(payload, quirks_mode: true) end def decode(payload) ::JSON.parse(payload, quirks_mode: true) end def content_type 'application/json' end end end end
Version data entries
9 entries across 9 versions & 1 rubygems