Class: Algebrick::Serializers2::FromJson

Inherits:
AbstractConverter show all
Defined in:
lib/algebrick/serializers2/abstract.rb

Constant Summary

Constant Summary

Constants inherited from AbstractConverter

AbstractConverter::CannotConvert

Instance Method Summary (collapse)

Methods inherited from AbstractConverter

#call, #cannot_convert, converts, #from, from, #to, to

Methods included from TypeCheck

#Child!, #Child?, #Match!, #Match?, #Type!, #Type?, error

Instance Method Details

- (Object) convert(data, options = {})



96
97
98
# File 'lib/algebrick/serializers2/abstract.rb', line 96

def convert(data, options = {})
  MultiJson.load data
end