I only know the answer to #2, I dont think there any configuration to do that.
On Fri, Nov 14, 2008 at 4:07 AM, Alex Milanovic <[EMAIL PROTECTED]>wrote: > Hi All, > > I am using the latest 2.1.3 snapshot (as opposed to 2.1.2) because I > have hierarchical resources. I've sent two emails to the users list > but they have gone unanswered, and since the questions are about the > 2.1.3-SNAPSHOT version it may be better to post them here anyway so > here they are: > > 1. I want to make sure that the content encoding for the JSON output > from the server is always in UTF8. How can I do this? > 2. I noticed that when the plugin serializes the response to JSON a > null string is serialized as an empty string and a null array is > serialized as an empty array. Would it be more correct to serialize > them as null? I would like to distinguish between a null string and an > empty string. > 3. The plugin sets the content type to text/javascript. I am not sure > if application/json (http://www.ietf.org/rfc/rfc4627.txt?number=4627) > is more appropriate? > > I suppose I could do some of this using custom interceptors but (1) > and (3) could be added as config params or something similar? > > Thanks, > Alex > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd