activejsonmodel (rubygems): A library for creating Active Models that can serialize/deserialize to JSON. This includes full support for validation and change detection through nested models. You can write polymorphic models or arrays of models and get full support for natural serialization.  Active JSON Model can optionally be combined with Active Record to create nested child models via JSON/JSONB columns. 
Keywords: activemodel|json|rails|ruby|serialization