Ticket #265 (closed defect: fixed)

Opened 4 years ago

Last modified 2 years ago

read-json can't parse negative numbers.

Reported by: dougorleans@… Owned by: dherman
Priority: blocker Milestone:
Component: dherman/json.plt Keywords:
Cc: gf3 Version: (3 0)
Racket Version: 4.1.5.5

Description

(read-json (open-input-string "-23"))

read: expected: digits, got: -

context


/home/dougo/.plt-scheme/planet/300/4.1.5.5/cache/dherman/json.plt/3/0/main.ss:151:0: read/digits
/home/dougo/.plt-scheme/planet/300/4.1.5.5/cache/dherman/json.plt/3/0/main.ss:172:0: read/number
/usr/local/plt/collects/scheme/private/misc.ss:74:7

Change History

Changed 4 years ago by dherman

So sorry I can't get to this right now-- trying desperately to finish a draft of the dissertation in the next couple weeks, while simultaneously working full-time. </waah>

I promise I will catch up on PLaneT bugs after the defense. Meanwhile, patches are most welcome...

Dave

Changed 3 years ago by gf3

  • cc gf3 added

Hi dherman, I am just curious as to if you'll be able to fix this soon? I'd love to use your library, however this bug is preventing me from going any further. Thanks and take care,

Gianni

Changed 3 years ago by gf3

btw the patch from the following issue works for me: http://planet.racket-lang.org/trac/ticket/317

Changed 2 years ago by dherman

  • status changed from new to closed
  • resolution set to fixed

Fixed and updated.

Dave

Note: See TracTickets for help on using tickets.