I have a model with about 10 attributes that I wish to have serialized as JSON
in my DB.
Is there a way to do:
serialize attribute1, JSON
// ...
serialize attribute10, JSON
In a single line? Because serialize [attribute1, ..., attribute10], JSON
doesn't work.
Thanks!