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

https://bugzilla.novell.com/show_bug.cgi?id=646447#c0


           Summary: System.Json.JsonObject's Add method doesn't accept
                    null value.
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.8.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: System
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: Development
           Blocker: Yes


Description of Problem:

When pass null value to JsonObject's Add method will throw
ArgumentNullException.

Steps to reproduce the problem:

var obj = new JsonObject();
obj.Add("foo", null);

Actual Results:

Throws an ARgumentNullException

Expected Results:

get an object: { foo : null }

How often does this happen? 

Always

Additional Information:

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to