Serialization
(in ./Carbon/Serialization/_.lua)
Provides serialization facilities for Carbon. Relies on Metadata being enabled.
Methods
class public Serialization.Deserialize(string source, [Format format]
)
Returns any
- required
source
: The serialized data in the form of a string. - optional
format
: The format to use; autodetected if not specified.
Deserializes a serialized object.
If no deserializer for the format could be found, returns (false, NotImplementedException)
class public Serialization.Serialize(any object, Format format
)
Returns string
- required
object
: The object to serialize. - required
format
: The Format to serialize the object into.
Serializes an object into the specified data format.
Properties
[none]