mrdoob/three.js — pull request #4621 by kumavis (2014-03-28 08:50:23+00:00)
Title: Refactor serialization/deserialization into class definitions - Updates #4609

The goal here is to move the logic for serialization and deserialization on to the class definitions. The `ObjectExporter` and `ObjectLoader` classes still exist as thin helpers, that call out to the serialization methods implemented on the Classes themselves. This breaks up responsibility, and allows custom classes to provide their own serialization methods.