dict.serialize
Description
Use the dict.serialize object to output a serialized form of the contents of dictionary in text format. The text may be Dictionary Syntax, JSON, or Base64-compressed forms of these formats.
Discussion
Note: The colon (:) is a reserved character and is not supported in keys or values.
Different formats of serialization may be accessed by changing attributes to this object. However, these attributes should be used carefully.
- the mode attribute may choose between JSON and dictionary syntax
- the compress attribute will apply a compression algorithm
Arguments
None.
Attributes
compress [int]
Apply compression to the serialized dictionary
mode [symbol]
Switch between dictionary syntax and JSON format
Common Box Attributes
Messages
dictionary
Arguments
name
[symbol]
Name of a dictionary whose content will be serialized
See Also
Name | Description |
---|---|
dict.deserialize | |
dict.group | |
dict.iter | |
dict.join | |
dict.pack | |
dict.print | |
dict.route | |
dict.slice | |
dict.strip | |
dict.unpack | |
dict.view | |
dict | |
Dictionaries | Dictionaries |