Hi All,

Two questions about the REST plugin and its support for JSON (note I
am using 2.1.3-SNAPSHOT to be able to use hierarchical REST
resources):

1. 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?
2. 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?

Thanks,
Alex

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to