Class: MultiJson::Adapters::JrJackson
- Inherits:
-
MultiJson::Adapter
- Object
- MultiJson::Adapter
- MultiJson::Adapters::JrJackson
- Defined in:
- lib/multi_json/adapters/jr_jackson.rb
Overview
Use the jrjackson.rb library to dump/load.
Constant Summary collapse
- ParseError =
::JrJackson::ParseError
Instance Attribute Summary
Attributes included from Options
Instance Method Summary collapse
-
#dump(object, options = {}) ⇒ Object
:nodoc:.
-
#load(string, options = {}) ⇒ Object
:nodoc:.
Methods inherited from MultiJson::Adapter
activate!, defaults, dump, load
Methods included from Options
#default_dump_options, #default_load_options
Instance Method Details
#dump(object, options = {}) ⇒ Object
:nodoc:
14 15 16 |
# File 'lib/multi_json/adapters/jr_jackson.rb', line 14 def dump(object, ={}) #:nodoc: ::JrJackson::Json.dump(object) end |
#load(string, options = {}) ⇒ Object
:nodoc:
10 11 12 |
# File 'lib/multi_json/adapters/jr_jackson.rb', line 10 def load(string, ={}) #:nodoc: ::JrJackson::Json.load(string, ) end |