Hi,

I try to manually use turbojson.jsonify.jsonify to render options to a 
JQuery.dialog as string.

However, this does not work:

>>> jsonify.jsonify(dict(foo="bar"))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<generated code>", line 0, in jsonify
  File "build/bdist.linux-i686/egg/peak/rules/core.py", line 214, in __call__
peak.rules.core.NoApplicableMethods: (({'foo': 'bar'},), {})
>>> 

I would have thought that parsing a simple dict should work, no?

I could fallback to simplejson.dumps - yet I'd rather stay in turbojson to get 
the rule-dispatch-goodness.

Diez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to