Sha256: 7f36913e70a034d444354b3b7f5486cacfc891e6f725d27f4dc0d0214fad3bce
Contents?: true
Size: 419 Bytes
Versions: 77
Compression:
Stored size: 419 Bytes
Contents
require 'oj' module Fluent::Plugin module Serializer class Oj include Elasticsearch::Transport::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
77 entries across 77 versions & 2 rubygems