Module: MultiJson::Options

Included in:
MultiJson, Adapter
Defined in:
lib/multi_json/options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dump_options(*args) ⇒ Object


9
10
11
# File 'lib/multi_json/options.rb', line 9

def dump_options(*args)
  get_options :dump_options, *args
end

#load_options(*args) ⇒ Object


5
6
7
# File 'lib/multi_json/options.rb', line 5

def load_options(*args)
  get_options :load_options, *args
end

Instance Method Details

#default_dump_optionsObject


17
18
19
# File 'lib/multi_json/options.rb', line 17

def default_dump_options
  @default_dump_options ||= {}
end

#default_load_optionsObject


13
14
15
# File 'lib/multi_json/options.rb', line 13

def default_load_options
  @default_load_options ||= {}
end