Class: BEL::Extension::Format::JSONImplementation::JSONWriter
- Inherits:
-
Object
- Object
- BEL::Extension::Format::JSONImplementation::JSONWriter
- Defined in:
- lib/bel/extensions/json/oj.rb,
lib/bel/extensions/json/jrjackson.rb,
lib/bel/extensions/json/ruby_json.rb,
lib/bel/extensions/json/multi_json.rb
Instance Method Summary collapse
Instance Method Details
#write_json_object(json_object) ⇒ Object
22 23 24 |
# File 'lib/bel/extensions/json/oj.rb', line 22 def write_json_object(json_object) Oj.dump(json_object, :mode => :compat) end |