restsharp/RestSharp — pull request #176 by petejohanson (2011-11-01 20:29:32+00:00)
Title: Do case-insensitive parsing of enum values when deserializing JSON.

Just started experimenting with using RestSharp to access an internally developed RESTful service and encounter an issue with deserializing a enum value that's specified all lower case in the JSON but is camel cased in the equivalent .NET enum type.

This simple fix (and associated change in the test) was enough to get this working for my case, but I certainly could see arguments either way for whether this is sloppy, or helpful.

Thoughts?