Class: MultiJson::Adapters::Oj
- Inherits:
-
MultiJson::Adapter
- Object
- MultiJson::Adapter
- MultiJson::Adapters::Oj
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/multi_json-1.15.0/lib/multi_json/adapters/oj.rb
Overview
Use the Oj library to dump/load.
Defined Under Namespace
Classes: ParseError
Instance Method Summary collapse
Methods inherited from MultiJson::Adapter
Methods included from Options
#default_dump_options, #default_load_options, #dump_options, #dump_options=, #load_options, #load_options=
Methods included from Singleton
Instance Method Details
#load(string, options = {}) ⇒ Object
32 33 34 35 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/multi_json-1.15.0/lib/multi_json/adapters/oj.rb', line 32 def load(string, = {}) [:symbol_keys] = [:symbolize_keys] ::Oj.load(string, ) end |