The NameError is probably because you didn't add `import json` to the top of your helpers module. You will also need to import the `literal` from WebHelpers.
On the JavaScript side, I actually would not recommend using the JSON object directly, because it's not supported by all browsers. Instead, use the JSON decoder from whichever JS library you're using (which may delegate to the JSON object if it's available). -- You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en.
