Comment by oleg.podsechin:
Why do you need separate constructs for {.section} and {.repeated section}?
You could take the absence of a key to signify "hide this section", its
presence to signify "show it once, with these values", and its presence as
an array to signifiy "show it multiple times, one per element". That's the
way google-ctemplate works, and it seems to work quite well.
For more information:
http://code.google.com/p/json-template/wiki/Reference
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---