SignalR/SignalR — Issue #183: change in serialization behavior after upgrading to 0.4
Author: remcoros
Created: 2012-02-07 12:14:03+00:00
State: open

Hi,

I noticed this change in behavior.

Pre 0.4, when doing this:
When (in javascript) I call:
```
$.connection.hub.someHub(""); // pass empty string.
```

It is correctly serialized as an empty string.

I just upgraded to 0.4.

Now it serializes to 'null'.

Ofcourse this can be captured with a null check. But how do we differentiate between passing null and an empty string now?

Is this intended?

Remco Ros