[Mono-bugs] [Bug 661919] DataContractJsonSerializer doesn't deserialize non-null values for nullable members properly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jan 3 02:06:37 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=661919

https://bugzilla.novell.com/show_bug.cgi?id=661919#c1


Marek Habersack <mhabersack at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Sys.Web                     |WCF
            Summary|System.Web.Extensions JSON  |DataContractJsonSerializer
                   |deserialization does not    |doesn't deserialize
                   |support nullable value      |non-null values for
                   |types                       |nullable members properly

--- Comment #1 from Marek Habersack <mhabersack at novell.com> 2011-01-03 08:06:37 CET ---
The issue is in DataContractJsonSerializer, which is not in
System.Web.Extensions but in System.ServiceModel.Web (.NET 3.5) or
System.Runtime.Serialization (.NET 4.0)
Also, the results are different using the attached test case to those described
in the report. parm_id is assigned 0 (wrong) but val is assigned null
(correct).

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list