Module: RubyJsonToon

Defined in:
lib/ruby_json_toon.rb,
lib/ruby_json_toon/version.rb

Constant Summary collapse

VERSION =
'1.0.0'

Class Method Summary collapse

Class Method Details

.decode(toon_string) ⇒ Object



12
13
14
# File 'lib/ruby_json_toon.rb', line 12

def self.decode(toon_string)
  ToonToJson.decode(toon_string)
end

.encode(value, options = {}) ⇒ Object



8
9
10
# File 'lib/ruby_json_toon.rb', line 8

def self.encode(value, options = {})
  JsonToToon.encode(value, options)
end