This project is archived and is in readonly mode.
to_json <> to_xml (dasherize => true, methods => other_ids)
-
Frederick Cheung
Is dasherize useful for json ? I can't think you would ever want that since it means that you have to access things as x['foo-bar'] since x.foo-bar is obviously invalid (or rather doesn't mean x['foo-bar'])
If you're interested in playing around the appropriate files are active_record/lib/serialization.rb, active_record/lib/serializers/json_serializer.rb, active_record/lib/serializers/xml_serializer.rb
-
Pratik
- State changed from new to invalid
- Assigned user set to Frederick Cheung