abitbol-serializable
Abitbol Serializable is an abitbol class that can serialize its properties.
Features:
- Serialize / Unserialize all computed properties that have a getter and a setter,
- Skip properties annotated with
"@serializable false"
. - Use custom serialization function for specific properties.
Example Class:
var SerializableClass = ; var Person = SerializableClass;
Example Serialization:
var john = lastName: "Wayne" age: 72; john; // -> {// __name__: "Person",// id: "<an autogenerated uuid>",// firstName: "John",// lastName: "Wayne"// }
Documentation
Changelog
- 2.0.0: Updates
abitbol
dependency to 2.0.0 - 1.0.2: Documentation site
- 1.0.1: Updates
uuid
dependency to 3.0.0 - 1.0.0: Initial release