facebook-csharp-sdk/facebook-csharp-sdk — pull request #229 by prabirshrestha (2012-11-21 23:58:17+00:00)
Title: ParseSignedRequest support for non IDictionary<string,object> deserializers

`ParseSignedRequest` now supports json deserializers that does not return `IDictionary`.

If it can't convert to `IDictionary` it will default to using SimpleJson but when returning the value it will return the original deserialized json. So you can now take full advantage of JSON.NET. The only side effect of this is that it will have to deserialize the json string twice for json.net.

```c#
var jsonString = Encoding.UTF8.GetString(base64UrlDecoded, 0, base64UrlDecoded.Length);
var originalDeserializedJson = DeserializeJson(jsonString, null);
var envelope = originalDeserializedJson as IDictionary;
if (envelope == null)
{
// we are using a non-standard json deserializer
// so fallback to using SimpleJson deserializer.
envelope = (IDictionary)SimpleJson.DeserializeObject(jsonString, null);
}
// validate envelope
return originalDeserializedJson;
```

Added unit test for `ParseSignedRequest` when using json.net.
Added json.net in `notice.txt`.