Class: Rhoconnect::Model::Marshal::JSON

Inherits:
Object
  • Object
show all
Defined in:
lib/rhoconnect/model.rb

Class Method Summary collapse

Class Method Details

.dump(v) ⇒ Object



262
263
264
# File 'lib/rhoconnect/model.rb', line 262

def self.dump(v)
  ::JSON.dump(v)
end

.load(v) ⇒ Object



266
267
268
# File 'lib/rhoconnect/model.rb', line 266

def self.load(v)
  v && ::JSON.load(v)
end