Last active
December 8, 2015 16:59
-
-
Save ToQoz/066500e4ec8dfa931958 to your computer and use it in GitHub Desktop.
application/x-www-form-urlencoded
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
#set($form = $input.path('$').split('&')) | |
{ | |
#foreach($kvString in $form) | |
#set($kv = $kvString.split('=')) | |
"$kv[0]": "$util.urlDecode($kv[1])"#if($foreach.hasNext),#end | |
#end | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
awsm.json 等、JSON内で文字列として書かないといけない場合