From: Greg W. (JIRA) <ji...@co...> - 2007-04-30 22:28:31
|
[ http://jira.codehaus.org/browse/JETTY-325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_94646 ] Greg Wilkins commented on JETTY-325: ------------------------------------ Stefan, don't create a new bug, this one will do to track it. I'll have to think about this, as I want to avoid expanding all JSON literals unless they need to be expanded - else it kind of negates the purpose. For your example, the extra parse cannot be avoided, but it would be good to avoid the additional generation phase. This could be done by having server side clients doing and parse of the literals, but that still leaves the filters as being an issue. The solution may be to use a JSONMap, which is just normal map except that when a get is done on a JSON literal, it is expanded..... need to think a bit more on this one. > Ability to publish already serializes JSON messages > --------------------------------------------------- > > Key: JETTY-325 > URL: http://jira.codehaus.org/browse/JETTY-325 > Project: Jetty > Issue Type: Improvement > Components: Bayeux > Affects Versions: 6.1.1 > Reporter: Stefan Arentz > > We have our own JSON serializer, but there is no way to publish an already formatted message. Can we have maybe a Channel.publishRaw() or Channel.publishJson() to do this? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |