json-parse not reading 64-bit number

Q&A's, tips, howto's

json-parse not reading 64-bit number

Postby ralph.ronnquist » Mon Jun 01, 2015 4:45 am

Apparently json-parse can only read 32-bit numbers, and it results in MAXINT without error for larger numbers. Luckily it seems to be a minor patch to expand this to 64 bit numbers. As attached for today's 10.6.3.

(253 Bytes) Downloaded 111 times
Posts: 209
Joined: Mon Jun 02, 2014 1:40 am
Location: Melbourne, Australia

Re: json-parse not reading 64-bit number

Postby Lutz » Mon Jun 01, 2015 2:02 pm

Thanks for the change Ralph, will be added - was fine on 64-bit newLISP, but now also works on 32-bit newLISP.
Posts: 5279
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California

Return to newLISP in the real world

Who is online

Users browsing this forum: No registered users and 3 guests