klyn.Object.toDict
method
public native toDict() as Map<String, Object>
DescriptionReturns the object public state as a dictionary.
The default implementation reuses the runtime JSON serializer, which
already knows how to expose registered public properties and fields.
ReturnsA dictionary view of the object state.