public class Object
Object is the root class of all classes in the Klyn language.
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | typetype as Type |
Represents the type of the current object. |
| Modifier and Type | Member | Description |
|---|---|---|
| public native | deepCopydeepCopy() as this |
Creates a deep copy of the current object graph. |
| public static | fromJsonfromJson<T>(json as String) as T |
Deserializes JSON into the requested static type. |
| public | hashhash() as Long |
Returns the hash value used by associative collections. |
| public | toDict | Returns the object public state as a map (alias of toMap). |
| public | toJson | Returns the object as JSON text. |
| public native | toMap | Returns the object public state as a map. |
| public | toStringtoString() as String |
Returns a string representation of the object. |
| public | toXml | Returns the object as XML text. |