Class: Algebrick::Serializers2::ToJson

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 = {})



88
89
90
# File 'lib/algebrick/serializers2/abstract.rb', line 88

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