{ "id": "62608", "key": "TIMOB-1976", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11227", "name": "Release 1.5.0 M02", "archived": true, "released": true, "releaseDate": "2010-11-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:57:42.000+0000", "created": "2011-04-15T03:07:01.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect" ], "versions": [], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:57:42.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

alert(JSON.stringify(['001','002'])); it show \"[001,002]\"!! did\nit should show \"['001','002']\";

\n

and, alert(JSON.stringify([1,2])); it show \"[1.0,2.0]\"!! did it\nshould show \"[1,2]\";

{html}", "attachment": [], "flagged": false, "summary": "Android: JSON.stringify Does not Preserve Type", "creator": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "127136", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [860eacd7483c470a69561c575f0de2106d07f6a0])\nwhole numbers now get stringified as integers in JSON.stringify,\nremoved some debugging in drillbit, added a new JSON test suite\n[#1976 state:fixed-in-qa milestone:\"1.5.0 M02\"]\n\nhttps://github.com/appcelerator/titanium_mobile/commit/860eacd7483c...

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:07:02.000+0000", "updated": "2011-04-15T03:07:02.000+0000" }, { "id": "127137", "author": { "name": "mschmulen", "key": "mschmulen", "displayName": "Matt Schmulen", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

pass regression android 2.1 sim

{html}", "updateAuthor": { "name": "mschmulen", "key": "mschmulen", "displayName": "Matt Schmulen", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:07:02.000+0000", "updated": "2011-04-15T03:07:02.000+0000" }, { "id": "127138", "author": { "name": "mschmulen", "key": "mschmulen", "displayName": "Matt Schmulen", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

passed regression android 1.6 sim, Titanium SDK version: 1.5.0\n(11/22/10 20:42 19a59fd)

{html}", "updateAuthor": { "name": "mschmulen", "key": "mschmulen", "displayName": "Matt Schmulen", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:07:03.000+0000", "updated": "2011-04-15T03:07:03.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }