Created
June 26, 2013 02:44
-
-
Save wataru420/5864364 to your computer and use it in GitHub Desktop.
freemarkerでMapのデータを回す2+1の方法 ref: http://qiita.com/wataru420/items/08b9bc2b55a52293c824
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#assign h = {"name":"mouse", "price":50}> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#list h?keys as key> | |
${key} = ${h.get(key)} | |
</#list> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#list h.entrySet() as entry> | |
${entry.key} = ${entry.value} | |
</#list> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#list h?keys?sort as key> | |
${key} = ${h.get(key)} | |
</#list> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment