Parsing bugs in JSON.st
By Robin Redeker - Posted on October 7th, 2007
| Project: | GNU Smalltalk |
| Component: | Bindings (other) |
| Category: | bug |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | fixed |
Description
I've discovered that strings with whitespace are
not read correctly with JSON.st. The parser calls
the next method which gets the next token and not
the next character from the stream.
Here is a patch that will parse from the stream
directly than from self in nextJSONNumber and nextJSONString:
http://www.ta-sa.org/files/txt/ce61efc9a954ece8f4d5ff1256e38a1c.txt
Updates
#1 submitted by Paolo Bonzini on Mon, 10/08/2007 - 06:10
| Status: | patch | » fixed |
Fixed, thanks.
#2 submitted by Paolo Bonzini on Mon, 10/08/2007 - 06:10
Fixed, thanks.
