[Mono-bugs] [Bug 586712] New: System.Json.JsonReader turns all booleans into true

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 9 12:32:14 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=586712

http://bugzilla.novell.com/show_bug.cgi?id=586712#c0


           Summary: System.Json.JsonReader turns all booleans into true
    Classification: Mono
           Product: MonoTouch
           Version: SVN
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: gnorton at novell.com
        ReportedBy: dan.haligas at bizmosis.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152;
NET CLR 3.5.30729; InfoPath.2; .NET4.0C; .NET4.0E)

String test = "{\"test\":false}";

JsonReader reader = new JsonReader(new StringReader(test));
JsonValue val = reader.Read(); 

this returns an object that is {test:true}

it turns all booleans to true no matter what

Reproducible: Always

Steps to Reproduce:
1.Follow code above
2.
3.
Actual Results:  
{test:true}


Expected Results:  
{test:false}

-- 
Configure bugmail: http://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