#2373: @expose('json') won't return lists
----------------------------+-----------------------------------------------
Reporter: seedifferently | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 2.1a1
Component: TurboGears | Version: 2.0.1
Severity: normal | Resolution:
Keywords: |
----------------------------+-----------------------------------------------
Comment (by seedifferently):
Sorry about the dupe, I did a search before posting but missed that.
I would recommend the error approach if this usage is going to continue to
be blocked. Despite the security concerns, returning top level JSON arrays
happens frequently. Simply "stringifying" the output is only going to
confuse people.
My $.02,
Seth
--
Ticket URL: <http://trac.turbogears.org/ticket/2373#comment:2>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---