On Mon, Aug 17, 2009 at 6:41 PM, <[email protected]> wrote:
>
> Comment by nrstott:
>
> What exactly does the following mean?
>
> _The character '@' is the cursor value. It can be used in a substitution,
> or as the section name of a repeated section._

cursor means "current" value/node.  The next section on substitution
should explain it more:

{@|html} substitutes the current node and formats it as HTML

{.section foo} hello {.end} -- evaluates "foo" in the current node and
makes it the *new* current node

{.section @} hello {.end} -- This keeps the current node the same.

Think of it was walking a JSON tree.  At each point you can go down
the tree, or you can use @ to stay in the same place.

Andy

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to