[TIMOB-870] Android: JSON.parse of null throws NPE
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T01:54:30.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.3.0 |
| Components | Android |
| Labels | android, defect |
| Reporter | Don Thorp |
| Assignee | Don Thorp |
| Created | 2011-04-15T02:38:10.000+0000 |
| Updated | 2011-04-17T01:54:30.000+0000 |
Description
the iPhone JSON.parse(null) return null instead of throwing an exception. Change Android to match.
(from [06645bbfe3fd37904e4587af0f4ef14b4006992b]) [#870 state:resolved] JSON.parse(null) now returns null instead of throwing a NPE http://github.com/appcelerator/titanium_mobile/commit/06645bbfe3fd37904e4587af0f4ef14b4006992b"> http://github.com/appcelerator/titanium_mobile/commit/06645bbfe3fd3...