This is the map syntax:
value = string | number
simple = [<type>:]<value>
array = [<type>] '[' <value> [, value]* ']'
list = [<type>] '<' <value> [, value]* '>'
entry_value = simple | array | list | map
entry = <key>=<entry_value>
map = '{' <entry> [, entry]* '}'
Here is an example of a command and the result of its execution:
fw>$go {a=int:10,b=float:3.14,c=mystring,d=20}
d = 20 (class java.lang.String)
b = 3.14 (class java.lang.Float)
c = mystring (class java.lang.String)
a = 10 (class java.lang.Integer)
More examples:
go { simple = b, array = int[10,30,30], list = <string1,string2>, map = {a=b, b=c} }
go { 'my key' = 10, value = 'quoted value', escaped = 'contains the special \' character' }