facebook-csharp-sdk / simple-json

JSON library for .NET 2.0+/SL4+/WP7/WindowsStore with optional support for dynamic and DataContract
MIT License
380 stars 143 forks source link

support JsonEncode for DBNull #2

Closed ntotten closed 11 years ago

ntotten commented 12 years ago

object value = DBNull.Value; Assert.AreEqual("null", SimpleJson.JsonEncode(value));

prabirshrestha commented 11 years ago

will not implement DBNull. brings complexity and not I don't think portable library support it.