Skip to content

Add serialization and deserialization. #1

@waynemwashuma

Description

@waynemwashuma

Prerequisite(s).

A serializer which can serialize an object.
A deserializer which revives the serialized format of an object to the required

Description.

Resources and components should be serializable.

Solution(s).

Components and resources will have two static methods for serializing and deserializing

interface Serializable<T> {
  serialize(object: T, serializer: Serializer): void {}
  deserialize(object: SerializedStruct, deserializer: Deserializer): T {}
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions