[Map] toString | Manual

[Map] toString

Returns a string representation of a map encoded in Citrine itself. This will give you an evallable representation of the map and all of its members. Usage m := (Map new) put: 'hello' at: 'world'. x := m toString m := x eval. The toString method is automatically invoked when attempting to print a Map: Pen write: (Map new). #prints Map new. You can also use the alias 'serialize'.

back to homepage
back to manual menu

This API reference guide has been generated automatically from source code comments using the shtml.ctr script.