Comment #7 on issue 34 by [email protected]: Repeated section should iterate
over dictionaries and have special variables $name and $value
http://code.google.com/p/json-template/issues/detail?id=34
The cursor could either
1) remain unchanged (it will be the top-level object)
2) be undefined
3) be a length 2 array of [$name, $value]
{.repeated section flags}
{@|unix-flag}
{.end}
unix-flag: '--%s=%s' % (cursor[0], cursor[1])
Although I suppose it's better to do:
{.repeated section flags}
--{$name}={$value}
{.end}
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JSON
Template" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/json-template?hl=en
-~----------~----~----~----~------~----~------~--~---