Sha256: bf8f2fc0e089661a3eeb6c2884272311403e3aaa4dbb799221a31f66b7bc01d6
Contents?: true
Size: 418 Bytes
Versions: 6
Compression:
Stored size: 418 Bytes
Contents
require 'multi_json' module Acfs module Middleware # A middleware to encore request data using JSON. # class JSON < Serializer def mime ::Mime::JSON end def encode(data) ::MultiJson.dump data end def decode(body) ::MultiJson.load body end end # @deprecated JsonDecoder = JSON # @deprecated JsonEncoder = JSON end end
Version data entries
6 entries across 6 versions & 1 rubygems