Bug 15809 - DataMember - IsRequired is not honored by DataContractJsonSerializer
Summary: DataMember - IsRequired is not honored by DataContractJsonSerializer
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: WCF assemblies (show other bugs)
Version: 2.10.x
Hardware: PC Linux
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-10-30 06:35 UTC by Bjorn Hellander
Modified: 2013-10-30 06:35 UTC (History)
1 user (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
NUnit test program (1.55 KB, text/x-csharp)
2013-10-30 06:35 UTC, Bjorn Hellander
Details

Description Bjorn Hellander 2013-10-30 06:35:10 UTC
Created attachment 5270 [details]
NUnit test program

When deserializing an object using DataContractJsonSerializer, an object is created even if required members are missing from the JSON text representation.

I'm using Ubuntu 13.10 with Mono 2.10.8.1-5ubuntu2.

Note You need to log in before you can comment on or make changes to this bug.