Javascript code:

```
var x = null;
var action_data = {x:x};
$.get(
  '~/MyController/MyAction',
  action_data,
  function(result){
    //do_something
  }
);

```

Controller action:

```
public class MyController: Controller{
  ...
  public ActionResult MyAction(string x)
  {
    //here, x is the string 'null';

  }
}

```

Can someone explain to me why the string "null" is sent to the action instead of the value null? Thanks