On 27 September 2012 15:04, Stephen R. van den Berg <[email protected]> wrote:
/.../
> Further investigation reveals that:
>  <insert variable="q.m" index="2" />
>
> actually uses a string to index the mapping, and therefore accesses the
> correct member.

Yes, I was leaning towards suggesting something like that. It's an
awkward situation since a) the short form variable reference syntax
simply isn't versatile enough - it has some intentional dwim which
isn't wim in this particular case, and b) meddling with the json
decode side isn't an option since that has a quite different scope.
The only way out of it is then to leave the dwim style be and do it in
some other bulkier way. At least it's good that there already is a tag
which provides that bulkier way.

Reply via email to