Ticket #5725 (closed defect: fixed)
Parsing bad JSON text should throw an error
| Reported by: | kriszyp | Owned by: | peller |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.1 |
| Component: | General | Version: | 1.0 |
| Severity: | normal | Keywords: | json |
| Cc: | alex |
Description
When Dojo.fromJson is called with an invalid Json string, it returns the provided string when it should fail (throw an exception). It is irrational to return a wrong result rather than failing.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.