Object
classin packageklyn
public class Object:
Object
Object is the root class of all classes in the Klyn language.
Properties
Modifier and Type Member Description
public readonly property type
type as Type:
Represents the type of the current object.
Constructors
Modifier and Type Member Description
public Object No summary.
Methods
Modifier and Type Member Description
public static fromJson
fromJson<Type>(json as String) as Type:
Normalizes compact object JSON formatting.
public native toDict
toDict() as Map<String, Object>
Returns the object public state as a dictionary.
public toJson
toJson(exclude as List<String> = null, spaces as Boolean = true, pretty as Boolean = false, indent as Int = 0) as String:
Returns the object as JSON text.
public native toString
toString() as String
Returns a string representation of the object.
public toXml
toXml(exclude as List<String>, prettyPrint as Boolean, indent as Int) as String:
No summary.