This project has moved and is read-only. For the latest updates, please go here.

Empty decimal values

Apr 14, 2011 at 7:14 PM

In order to handle empty decimal values, this should be added in ReadAsDecimal, before the last throw:

			if (TokenType == JsonToken.String && string.IsNullOrEmpty((string)Value))
				return null;
Worked for me, anyway.