mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
ArraySerializer can serialize arrays of Hash, ActiveModel::Serializer, or any PORO that responds to :as_json Each item in the array should not include its type as a root element, since normal arrays do not do this. If you want "typed" collections, don't use an Array. |
||
|---|---|---|
| .. | ||
| association_test.rb | ||
| generators_test.rb | ||
| serialization_test.rb | ||
| serializer_support_test.rb | ||
| serializer_test.rb | ||
| test_helper.rb | ||