Sha256: fd4b686c45b086c9ae27ea341deb29b6dfb889238e1678cddbee39c43a366642
Contents?: true
Size: 450 Bytes
Versions: 11
Compression:
Stored size: 450 Bytes
Contents
require 'oj' require_relative 'elasticsearch_compat' module Fluent::Plugin module Serializer class Oj include TRANSPORT_CLASS::Transport::Serializer::Base # De-serialize a Hash from JSON string # def load(string, options={}) ::Oj.load(string, options) end # Serialize a Hash to JSON string # def dump(object, options={}) ::Oj.dump(object, options) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems