Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 312649

Summary: JSONUtil not handling Infinitity and NaN correctly for Numbers
Product: [WebTools] JSDT Reporter: Simon Kaegi <simon_kaegi>
Component: DebugAssignee: Simon Kaegi <simon_kaegi>
Status: RESOLVED FIXED QA Contact: Simon Kaegi <simon_kaegi>
Severity: normal    
Priority: P3 CC: Michael_Rennie, thatnitind
Version: 3.2Flags: Michael_Rennie: review+
Target Milestone: 3.2 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
proposed patch none

Description Simon Kaegi CLA 2010-05-12 11:34:19 EDT
According to the JSON spec both these values should be serialized as null.
Comment 1 Simon Kaegi CLA 2010-05-12 12:43:21 EDT
Created attachment 168195 [details]
proposed patch
Comment 2 Michael Rennie CLA 2010-05-12 13:22:11 EDT
+1 super-fantastic
Comment 3 Simon Kaegi CLA 2010-05-12 13:28:39 EDT
Fixed in HEAD