A newer version of Max is available. Click here to access the latest version of the documentation

dict.route Reference

Compare dictionaries

dict.route

Description

Use the dict.route object to compare two dictionaries. If the dictionary received at the left inlet meets the specifications set by the dictionary at the right inlet, then pass the dictionary through the left outlet. Otherwise passes the dictionary through the right outlet.

Discussion

Note: The colon (:) is a reserved character and is not supported in keys or values.

Arguments

default-values [list]

Optional

Dictionary syntax composing a dictionary to be compared with the object's input. See the "Dictionaries" vignette for more information on dictionary syntax. This dictionary will be replaced by any dictionaries received at the object's right inlet.

Attributes

Common Box Attributes

Messages

dictionary

Arguments

name [symbol]
Dictionary in the first inlet is compared with the reference. Dictionary in the second inlet sets the reference.

See Also

Name Description
dict.deserialize
dict.group
dict.iter
dict.join
dict.pack
dict.print
dict.serialize
dict.slice
dict.strip
dict.unpack
dict.view
dict
Dictionaries Dictionaries