aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/lib/active_job/serializers/object_serializer.rb
Commit message (Collapse)AuthorAgeFilesLines
* fix spelling in docs for ActiveJob::Serializers::ObjectSerializer#deserializeJared Rader2018-04-131-1/+1
|
* Fix docs of ActiveJob custom argument serializersbogdanvlviv2018-02-171-16/+16
| | | | | | Add `:nodoc:` to `ActiveJob::Serializers` Add `:doc:` to `ActiveJob::Serializers::ObjectSerializer#klass` Express `ActiveJob::Serializers::ObjectSerializer#klass` as private method
* Simplify the implementation of custom argument serializersRafael Mendonça França2018-02-141-4/+24
| | | | | | | | | | | | | We can speed up things for the supported types by keeping the code in the way it was. We can also avoid to loop trough all serializers in the deserialization by trying to access the class already in the Hash. We could also speed up the custom serialization if we define the class that is going to be serialized when registering the serializers, but that will remove the possibility of defining a serialzer for a superclass and have the subclass serialized using it.
* Improve documentation on custom serializersRafael Mendonça França2018-02-141-0/+19
|
* Allow serializers to be used either as classes or objectsRafael Mendonça França2018-02-141-7/+5
|
* Only add one more custom key in the serialized hashRafael Mendonça França2018-02-141-13/+3
| | | | | | | Now custom serialziers can register itself in the serialized hash using the "_aj_serialized" key that constains the serializer name. This way we can avoid poluting the hash with many reserved keys.
* Introduce serializers to ActiveJobEvgenii Pecherkin2018-02-141-0/+27