PrintFleet/AL-Redis — pull request #1 by gregmac (2012-03-28 20:43:05+00:00)
Title: Implement Json serialization

With this patch, it's now possible to use JSON for session serialization.

This should be useful for debug purposes to be able to see exactly what is in session. I am using it with

```csharp
AngiesList.Redis.RedisSessionStateConfiguration.Configure(cfg =>
{
cfg.SetSerializationJson();
// or:
cfg.SessionSerializer = new AngiesList.Redis.SSJsonSerializer();
});
```

Because the normal ASP.NET tag is used while using web.config for configuration, the ability to specify JSON serialization in web.config is not implemented (I am not sure if there is a way to extend the existing web.config sessionState or not).

Also note, this is not currently cross-compatible. If you have a session currently serialized with the Binary serializer and switch to JSON (or vice-versa), your session will not work correctly. All sessions should be cleared after making this change.