Class: Serega::SeregaJSON::JSONDump
- Inherits:
-
Object
- Object
- Serega::SeregaJSON::JSONDump
- Defined in:
- lib/serega/json/json.rb
Overview
JSON dump adapter for ::JSON
Class Method Summary collapse
-
.call(data) ⇒ String
Dumps data to JSON string.
Class Method Details
.call(data) ⇒ String
Dumps data to JSON string
16 17 18 |
# File 'lib/serega/json/json.rb', line 16 def self.call(data) ::JSON.dump(data) end |