Re: [OPEN-ILS-DEV] PATCH: osrf_json_utils.h (scientific notation)

2007-12-15 Thread Mike Rylander
On Dec 15, 2007 10:29 PM, Mike Rylander [EMAIL PROTECTED] wrote: ---UPDATE-- Bill and I have been discussing this off-line, and we both agree that such an API addition (but leaving jsonObjectGetNumber() to return a double) is both warranted and, in at least one case for some new

[OPEN-ILS-DEV] PATCH: osrf_json_utils.h (scientific notation)

2007-12-11 Thread Scott McKellar
This tiny patch enables the JSON parser to accept a capital 'E' as well as a lower case 'e' in a number expressed in scientific notation. If there is some reason to insist on lower case -- which I doubt -- then disregard this patch. --- As long as we're on the subject of numeric