[DJSON-6] Exception message in string reader says it is an array reader problem Created: 14/Dec/12 Updated: 18/Jan/13 Resolved: 18/Jan/13 |
|
| Status: | Closed |
| Project: | data.json |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Defect | Priority: | Trivial |
| Reporter: | Stefan Kamphausen | Assignee: | Unassigned |
| Resolution: | Completed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Description |
|
The function read-quoted-string currently uses the same error message as read-array: "JSON error (end-of-file inside array)". Looks like copy and paste error to me. Fix will be trivial IMHO. |
| Comments |
| Comment by Stefan Kamphausen [ 14/Dec/12 5:26 AM ] |
|
Trivial patch which changes the error message. |
| Comment by Stefan Kamphausen [ 14/Dec/12 5:53 AM ] |
|
incremental patch to add tests for detection of EOF in unterminated arrays and strings. This diff is against HEAD~1, i.e. not against master and thus does not contain the fix itself. |
| Comment by Stuart Sierra [ 18/Jan/13 8:57 AM ] |
|
applied, with slight modifications |