Class: Transit::Marshaler::Json Private

Inherits:
Object
  • Object
show all
Includes:
Base, JsonBase
Defined in:
lib/transit/marshaler/jruby/json.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Methods included from JsonBase

#default_opts

Methods included from Base

#emit_array, #emit_boolean, #emit_double, #emit_encoded, #emit_int, #emit_map, #emit_nil, #emit_string, #emit_tagged_value, #escape, #find_handler, #marshal, #marshal_top, #parse_options, #verbose_handlers

Constructor Details

#initialize(io, opts) ⇒ Json

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Json.



31
32
33
# File 'lib/transit/marshaler/jruby/json.rb', line 31

def initialize(io, opts)
  parse_options(default_opts.merge(opts))
end