标签: java freemarker
我有这张地图:
{ "2" : { "name" : "JOHN" }, "1" : { "name" : "JENNY" } }
如何使用FreeMarker显示此地图?我试过这一行:
<#list map?keys as key>${map[key].name}</#list>
但它说Expression map is undefined ......
Expression map is undefined