使用 ExactTarget 的文档时遇到了困难。下面来自他们的文档的示例工作得很好,但我无法将 var Json 设置为实际的 JSON 提要。我错过了什么?
%%[ var @Json set @Json = ' [{"emailaddress":"john@example.com","Region":"West","State":"California","City":"San Francisco"},
{"emailaddress":"carla@example.com","Region":"Central","State":"Indiana","City":"Indianapolis"}]' ]%%
{{.datasource JSONVar type=variable maxRows = 20}}
{{.data}}
{ "target" : "@Json" }
{{/data}}
Email Address: {{emailaddress}}
Region: {{region}}
State: {{STATE}}
City: {{JSONVar.City}}
{{/datasource}}