Static
DeserializeDeserialize an object
data to deserialize
current object that's set. If of the same class/type the data is deserialized into that instead of creating new objects.
Optional
meta: Record<string, any>Optional object to retrieve common meta-data/resources across the deserialization process of multiple objects. Objects in meta must be class instances, not js objects. (like Material, Texture, Object3D etc)
Optional
isThis: booleantrue if called from inside the deserialization function, like custom IJSONSerializable.fromJSON
Static
SerializeSerialize an object Serialization.Serialize
Serialize an object
object to serialize
Optional
meta: Record<string, Record<string, any>>Optional object to store common meta-data/resources across the serialization process of multiple objects
Optional
isThis: booleantrue if called from inside the serialization function, like custom IJSONSerializable.toJSON.
Deserialize an object Serialization.Deserialize