From 49e2b7c63e99b96f1cbe6cc592fe32d96e852195 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Sun, 23 Jul 2023 01:35:03 -0700 Subject: [PATCH] fixed JSON number conversion Fixed `jnum_chk` by correcting the output of `jnum_gen`. Fixed an incorrect prior use of `make rebuild_jnum_test` and hand verified the generated `jnum_test.c` file. Added large e-notation values to the jnum.testset. Improved `json_alloc()` to explicitly initialize critical booleans and pointers when allocating a new JSON parse tree node. Both `json_process_decimal()` and `json_process_floating()` no longer set `parsed` and `converted` booleans. That task if performed by the `json_conv_number()` function. The `json_conv_number()` now correctly attempts to convert a given JSON number in floating point, e-notation and integer depending on if the result of `is_floating_notation()`, or `is_e_notation()` or `is_decimal()`, respectively. Those tests are used to set the `is_floating`, `is_e_notatiion`, and `is_integer` booleans, also respectively. Improved JSON debug messages from `json_process_decimal()` and `json_process_floating()`. --- CHANGES.md | 28 +- jparse/json_parse.c | 144 +- jparse/json_parse.h | 2 +- jparse/test_jparse/Makefile | 4 +- jparse/test_jparse/jnum.testset | 6 + jparse/test_jparse/jnum_gen.c | 46 +- jparse/test_jparse/jnum_test.c | 7544 +++++++++++++++---------------- 7 files changed, 3741 insertions(+), 4033 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index d208cc148..7b866445c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,32 @@ # Major changes to the IOCCC entry toolkit + +## Release 1.0.38 2023-07-23 + +Fixed `jnum_chk` by correcting the output of `jnum_gen`. +Fixed an incorrect prior use of `make rebuild_jnum_test` +and hand verified the generated `jnum_test.c` file. + +Added large e-notation values to the jnum.testset. + +Improved `json_alloc()` to explicitly initialize critical booleans +and pointers when allocating a new JSON parse tree node. + +Both `json_process_decimal()` and `json_process_floating()` no +longer set `parsed` and `converted` booleans. That task +if performed by the `json_conv_number()` function. + +The `json_conv_number()` now correctly attempts to convert +a given JSON number in floating point, e-notation and +integer depending on if the result of `is_floating_notation()`, +or `is_e_notation()` or `is_decimal()`, respectively. +Those tests are used to set the `is_floating`, `is_e_notatiion`, +and `is_integer` booleans, also respectively. + +Improved JSON debug messages from `json_process_decimal()` and +`json_process_floating()`. + + ## Release 1.0.37 2023-07-22 Use of `-H` in `jnamval` implies `-N`. @@ -23,7 +50,6 @@ For number conversions in `jval` and `jnamval` use the macros to check for converted/parsed booleans. - ## Release 1.0.35 2023-07-19 Add initial version of man pages of `jfmt(1)`, `jval(1)` and `jnamval(1)` to diff --git a/jparse/json_parse.c b/jparse/json_parse.c index d4878735c..30dea636b 100644 --- a/jparse/json_parse.c +++ b/jparse/json_parse.c @@ -1757,8 +1757,7 @@ json_alloc(enum item_type type) * even if the NUL is well beyond the end of the JSON number. * * NOTE: While it is OK if str has trailing whitespace, str[len-1] must be an - * ASCII digit. It is assumed that str[len-1] is the final JSON number - * character. + * ASCII digit. It is assumed that str[len-1] is the final JSON number character. */ static bool json_process_decimal(struct json_number *item, char const *str, size_t len) @@ -1846,15 +1845,12 @@ json_process_decimal(struct json_number *item, char const *str, size_t len) item->as_maxint = strtoimax(str, &endptr, 10); if (errno == ERANGE || errno == EINVAL || endptr == str || endptr == NULL) { if (errno == ERANGE) { - /* if only a range problem then we can say it's parsable but not converted */ - item->parsed = true; + dbg(DBG_VVVHIGH, "negative integer out of range, strtoimax failed to convert"); + } else { + dbg(DBG_VVVHIGH, "invalid negative integer, strtoimax failed to convert"); } - dbg(DBG_VVVHIGH, "strtoimax failed to convert"); - item->converted = false; return false; /* processing failed */ } - item->converted = true; - item->parsed = true; item->maxint_sized = true; dbg(DBG_VVVHIGH, "strtoimax for <%s> returned: %jd", str, item->as_maxint); @@ -1948,15 +1944,12 @@ json_process_decimal(struct json_number *item, char const *str, size_t len) item->as_umaxint = strtoumax(str, &endptr, 10); if (errno == ERANGE || errno == EINVAL || endptr == str || endptr == NULL) { if (errno == ERANGE) { - /* if range issue we know it's parsable */ - item->parsed = true; + dbg(DBG_VVVHIGH, "positive integer out of range, strtoumax failed to convert"); + } else { + dbg(DBG_VVVHIGH, "invalid positive integer, strtoumax failed to convert"); } - - dbg(DBG_VVVHIGH, "strtoumax failed to convert"); - item->converted = false; return false; /* processing failed */ } - item->converted = true; item->umaxint_sized = true; dbg(DBG_VVVHIGH, "strtoumax for <%s> returned: %ju", str, item->as_umaxint); @@ -2331,10 +2324,8 @@ json_process_floating(struct json_number *item, char const *str, size_t len) item->parsed = true; } dbg(DBG_VVVHIGH, "strtold failed to convert"); - item->converted = false; return false; /* processing failed */ } - item->converted = true; item->longdouble_sized = true; item->as_longdouble_int = (item->as_longdouble == floorl(item->as_longdouble)); dbg(DBG_VVVHIGH, "strtold for <%s> returned as %%Lg: %.22Lg", str, item->as_longdouble); @@ -2360,11 +2351,9 @@ json_process_floating(struct json_number *item, char const *str, size_t len) item->parsed = true; } item->double_sized = false; - item->converted = false; dbg(DBG_VVVHIGH, "strtod for <%s> failed", str); } else { item->double_sized = true; - item->converted = true; item->parsed = true; item->as_double_int = (item->as_double == floor(item->as_double)); dbg(DBG_VVVHIGH, "strtod for <%s> returned as %%lg: %.22lg", str, item->as_double); @@ -2386,7 +2375,6 @@ json_process_floating(struct json_number *item, char const *str, size_t len) item->float_sized = false; dbg(DBG_VVVHIGH, "strtof for <%s> failed", str); } else { - item->converted = true; item->parsed = true; item->float_sized = true; item->as_float_int = (item->as_longdouble == floorl(item->as_longdouble)); @@ -2408,7 +2396,7 @@ json_process_floating(struct json_number *item, char const *str, size_t len) * * A JSON number string is of the form: * - * ({JSON_INTEGER}|{JSON_INTEGER}{JSON_FRACTION}|{JSON_INTEGER}{JSON_FRACTION}{JSON_EXPONENT}|{JSON_INTEGER}{JSON_EXPONENT}) + * ({JSON_INTEGER}|{JSON_INTEGER}{JSON_FRACTION}|{JSON_INTEGER}{JSON_FRACTION}{JSON_EXPONENT}|{JSON_INTEGER}{JSON_EXPONENT}) * * where {JSON_INTEGER} is of the form: * @@ -2427,7 +2415,7 @@ json_process_floating(struct json_number *item, char const *str, size_t len) * len length, starting at ptr, of the JSON number string * * returns: - * allocated JSON parser tree node of the converted JSON number + * allocated JSON parser tree node of the parsed JSON number * * NOTE: This function will not return on malloc error. * NOTE: This function will not return NULL. @@ -2455,10 +2443,10 @@ json_conv_number(char const *ptr, size_t len) * initialize the JSON item */ item = &(ret->item.number); + item->parsed = false; + item->converted = false; item->as_str = NULL; item->first = NULL; - item->converted = false; - item->parsed = false; item->is_negative = false; item->is_floating = false; item->is_e_notation = false; @@ -2544,66 +2532,98 @@ json_conv_number(char const *ptr, size_t len) return ret; } - - decimal = is_decimal(item->first, item->number_len); - e_notation = is_e_notation(item->first, item->number_len); - floating_notation = is_floating_notation(item->first, item->number_len); /* - * case: JSON number is a base 10 integer in ASCII + * attempt to determine the type of JSON number we have been given */ - if (decimal) { + floating_notation = is_floating_notation(item->first, item->number_len); + item->is_floating = floating_notation; + /**/ + e_notation = is_e_notation(item->first, item->number_len); + item->is_e_notation = e_notation; + /**/ + decimal = is_decimal(item->first, item->number_len); + item->is_integer = decimal; - item->parsed = true; /* it's parsable but we now have to check if it can be converted */ + /* + * case: JSON number is a floating point number + */ + if (floating_notation) { - /* process JSON number as a base 10 integer in ASCII */ - success = json_process_decimal(item, item->first, item->number_len); + /* process JSON number as floating point number */ + success = json_process_floating(item, item->first, item->number_len); if (success == false) { - warn(__func__, "JSON number as base 10 integer in ASCII processing failed: <%*.*s>", - (int)item->number_len, (int)item->number_len, item->first); + + /* + * this JSON number is not a true floating point value + */ + json_dbg(JSON_DBG_HIGH, __func__, "JSON number as floating point number failed: <%s>", + item->as_str); + } else { - item->is_integer = true; - item->is_floating = false; - item->is_e_notation = false; + + /* + * this JSON number is a converted floating point value + */ + item->converted = true; + json_dbg(JSON_DBG_VHIGH, __func__, "converted JSON floating point number of type %s: <%s>", + json_item_type_name(ret), item->as_str); } + item->parsed = true; /* floating point number has been parsed, regardless of conversion status */ + } /* - * case: JSON number is not a base 10 integer in ASCII - * - * The JSON number might be a floating point or e-notation number. - * - * We have to check e notation first as e notation must follow the rules of - * floating point notation with the addition of the e notation rules. + * case: JSON number is an e-notation number */ - } else if (e_notation) { - item->parsed = true; + if (e_notation) { /* process JSON number as floating point or e-notation number */ success = json_process_floating(item, item->first, item->number_len); if (success == false) { - warn(__func__, "JSON number as e-notation number failed: <%*.*s>", - (int)item->number_len, (int)item->number_len, item->first); + + /* + * this JSON number is not a true e_notation value + */ + json_dbg(JSON_DBG_HIGH, __func__, "JSON number as e-notation number failed: <%s>", item->as_str); + } else { - item->is_integer = false; - item->is_e_notation = true; + + /* + * this JSON number is a converted e_notation value + */ + item->converted = true; + json_dbg(JSON_DBG_VHIGH, __func__, "converted JSON e-notation number of type %s: <%s>", + json_item_type_name(ret), item->as_str); } - } else if (floating_notation) { - item->parsed = true; + item->parsed = true; /* e-notation number has been parsed, regardless of conversion status */ + } - /* process JSON number as floating point number */ - success = json_process_floating(item, item->first, item->number_len); + /* + * case: JSON number is a base 10 integer in ASCII + */ + if (decimal) { + + /* + * process JSON number as a base 10 integer in ASCII + */ + success = json_process_decimal(item, item->first, item->number_len); if (success == false) { - warn(__func__, "JSON number as floating point number failed: <%*.*s>", - (int)item->number_len, (int)item->number_len, item->first); + + /* + * this JSON number is not a true integer value + */ + json_dbg(JSON_DBG_HIGH, __func__, "JSON number as base 10 integer in ASCII processing failed: <%s>", item->as_str); + } else { - item->is_integer = false; - item->is_e_notation = false; - item->is_floating = true; + + /* + * this JSON number is a converted integer value + */ + item->converted = true; + json_dbg(JSON_DBG_VHIGH, __func__, "converted JSON integer of type %s: <%s>", + json_item_type_name(ret), item->as_str); } - } else { - item->converted = false; - item->parsed = false; + item->parsed = true; /* 10 integer has been parsed, regardless of conversion status */ } - json_dbg(JSON_DBG_VHIGH, __func__, "JSON return type: %s", json_item_type_name(ret)); /* * return the JSON parse tree item diff --git a/jparse/json_parse.h b/jparse/json_parse.h index ab78bcce4..05e6abf3f 100644 --- a/jparse/json_parse.h +++ b/jparse/json_parse.h @@ -116,10 +116,10 @@ struct json_number bool is_floating; /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ bool is_e_notation; /* true ==> e notation used such as 1e10, false ==> no e notation found */ + bool is_integer; /* true ==> converted to some integer type below */ /* integer values */ - bool is_integer; /* true ==> converted to some integer type below */ bool int8_sized; /* true ==> converted JSON integer to C int8_t */ int8_t as_int8; /* JSON integer value in int8_t form, if int8_sized == true */ diff --git a/jparse/test_jparse/Makefile b/jparse/test_jparse/Makefile index 573632bde..02031ad09 100644 --- a/jparse/test_jparse/Makefile +++ b/jparse/test_jparse/Makefile @@ -167,12 +167,12 @@ CFLAGS= ${C_STD} ${C_OPT} -pedantic ${WARN_FLAGS} ${LDFLAGS} # source files that are permanent (not made, nor removed) # -C_SRC= jnum_chk.c jnum_test.c jnum_gen.c jnum_header.c +C_SRC= jnum_chk.c jnum_gen.c jnum_header.c H_SRC= jnum_chk.h jnum_gen.h # source files that do not conform to strict picky standards # -LESS_PICKY_CSRC= +LESS_PICKY_CSRC= jnum_test.c LESS_PICKY_HSRC= # all shell scripts diff --git a/jparse/test_jparse/jnum.testset b/jparse/test_jparse/jnum.testset index ce0ad048c..87eccceea 100644 --- a/jparse/test_jparse/jnum.testset +++ b/jparse/test_jparse/jnum.testset @@ -1,3 +1,6 @@ +-1e10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +-1e1000000000 +-1.0e1000000000 -8589934594.0 -8589934594.1 -8589934594.2e2 @@ -443,3 +446,6 @@ 8589934594.1 8589934594.2e2 8589934594.2E-4 +1e1000000000 +1.0e1000000000 +1e10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/jparse/test_jparse/jnum_gen.c b/jparse/test_jparse/jnum_gen.c index be137e31f..4a874efec 100644 --- a/jparse/test_jparse/jnum_gen.c +++ b/jparse/test_jparse/jnum_gen.c @@ -386,18 +386,15 @@ fpr_number(FILE *stream, struct json_number *item) } /* - * print bool converted + * print bool parsed and converted */ fprint(stream, "\t%s,\t" - "\t/* true ==> able to convert JSON number string to some form of C value */\n\n", - booltostr(item->converted)); - /* - * print bool parsed - */ - fprint(stream, "\t%s,\t" - "\t/* true ==> able to parse JSON number string */\n\n", + "\t/* true ==> able to parse JSON number string */\n", booltostr(item->parsed)); - + fprint(stream, "\t%s,\t" + "\t/* true ==> able to convert JSON number string to some form of C value */\n", + booltostr(item->converted)); + fprstr(stream, "\n"); /* * print JSON string @@ -407,9 +404,10 @@ fpr_number(FILE *stream, struct json_number *item) item->as_str, (item->as_str_len <= 4 ? "\t\t" : "\t")); fprint(stream, "\t\"%s\",%s" - "/* first whitespace character */\n\n", + "/* first whitespace character */\n", item->first, (item->number_len <= 4 ? "\t\t" : "\t")); + fprstr(stream, "\n"); /* * print JSON string lengths @@ -418,39 +416,37 @@ fpr_number(FILE *stream, struct json_number *item) "\t/* length of as_str */\n", (uintmax_t)item->as_str_len); fprint(stream, "\t%ju,\t" - "\t/* length of JSON number, w/o leading or trailing whitespace and NUL bytes */\n\n", + "\t/* length of JSON number, w/o leading or trailing whitespace and NUL bytes */\n", (uintmax_t)item->number_len); + fprstr(stream, "\n"); /* * print bool is_negative */ fprint(stream, "\t%s,\t" - "\t/* true ==> value < 0 */\n\n", + "\t/* true ==> value < 0 */\n", booltostr(item->is_negative)); + fprstr(stream, "\n"); /* - * print bool is_floating and is_e_notation + * print bool is_floating and is_e_notation and is_integer */ fprint(stream, "\t%s,\t" "\t/* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */\n", booltostr(item->is_floating)); fprint(stream, "\t%s,\t" - "\t/* true ==> e notation used such as 1e10, false ==> no e notation found */\n\n", + "\t/* true ==> e notation used such as 1e10, false ==> no e notation found */\n", booltostr(item->is_e_notation)); + fprint(stream, "\t%s,\t" + "\t/* true ==> integer conversion success, false ==> no integer conversion */\n", + booltostr(item->is_integer)); + fprstr(stream, "\n"); /* * print integer values */ fprstr(stream, "\t/* integer values */\n"); - /* - * print is_boolean - */ - fprint(stream, "\t%s,\t" - "\t/* true ==> integer conversion success, false ==> no integer conversion */\n\n", - booltostr(item->is_integer)); - - /* * print int8_t info */ @@ -587,7 +583,8 @@ fpr_number(FILE *stream, struct json_number *item) /* * print floating point values */ - fprstr(stream, "\n\t/* floating point values */\n"); + fprstr(stream, "\n"); + fprstr(stream, "\t/* floating point values */\n"); /* * print float info @@ -655,7 +652,6 @@ fpr_info(FILE *stream, bool sized, intmax_t value, char const *scomm, char const } else { fprint(stream, "\tfalse,\t\t/* %s */\n", scomm); fprint(stream, "\t0,\t\t/* no %s */\n", vcomm); - } return; } @@ -701,7 +697,6 @@ fpr_uinfo(FILE *stream, bool sized, uintmax_t value, char const *scomm, char con } else { fprint(stream, "\tfalse,\t\t/* %s */\n", scomm); fprint(stream, "\t0,\t\t/* no %s */\n", vcomm); - } return; } @@ -753,7 +748,6 @@ fpr_finfo(FILE *stream, bool sized, long double value, bool intval, char const * fprint(stream, "\tfalse,\t\t/* %s */\n", scomm); fprint(stream, "\t0,\t\t/* no %s */\n", vcomm); fprint(stream, "\tfalse,\t\t/* %s */\n", sintval); - } return; } diff --git a/jparse/test_jparse/jnum_test.c b/jparse/test_jparse/jnum_test.c index d5051a51c..cf124f991 100644 --- a/jparse/test_jparse/jnum_test.c +++ b/jparse/test_jparse/jnum_test.c @@ -50,11 +50,14 @@ * The code below is auto-generated by the jnum_gen tool * via the make rebuild_jnum_test rule. */ -#define TEST_COUNT (445) +#define TEST_COUNT (451) int const test_count = TEST_COUNT; char *test_set[TEST_COUNT+1] = { + "-1e10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "-1e1000000000", + "-1.0e1000000000", "-8589934594.0", "-8589934594.1", "-8589934594.2e2", @@ -500,30 +503,31 @@ char *test_set[TEST_COUNT+1] = { "8589934594.1", "8589934594.2e2", "8589934594.2E-4", + "1e1000000000", + "1.0e1000000000", + "1e10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", NULL }; struct json_number test_result[TEST_COUNT+1] = { - /* test_result[0]: -8589934594.0 */ + /* test_result[0]: -1e10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + false, /* true ==> able to convert JSON number string to some form of C value */ - "-8589934594.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-8589934594.0", /* first whitespace character */ + "-1e10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-1e10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", /* first whitespace character */ - 13, /* length of as_str */ - 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + 104, /* length of as_str */ + 104, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ - true, /* true ==> value < 0 */ + false, /* true ==> value < 0 */ true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ - false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ + true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -584,39 +588,37 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - true, /* true ==> converted JSON floating point to C float */ - -8589934592, /* JSON floating point value in float form */ - true, /* if float_sized == true, true ==> as_float is an integer */ + false, /* true ==> converted JSON floating point to C float */ + 0, /* no JSON floating point value in float form */ + false, /* if float_sized == true, true ==> as_float is an integer */ - true, /* true ==> converted JSON floating point to C double */ - -8589934594, /* JSON floating point value in double form */ - true, /* if double_sized == true, true ==> as_double is an integer */ + false, /* true ==> converted JSON floating point to C double */ + 0, /* no JSON floating point value in double form */ + false, /* if double_sized == true, true ==> as_double is an integer */ - true, /* true ==> converted JSON floating point to C long double */ - -8589934594L, /* JSON floating point value in long double form */ - true, /* if float_sized == true, true ==> as_float is an integer */ + false, /* true ==> converted JSON floating point to C long double */ + 0, /* no JSON floating point value in long double form */ + false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[1]: -8589934594.1 */ + /* test_result[1]: -1e1000000000 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + false, /* true ==> able to convert JSON number string to some form of C value */ - "-8589934594.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-8589934594.1", /* first whitespace character */ + "-1e1000000000", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-1e1000000000", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ - true, /* true ==> value < 0 */ + false, /* true ==> value < 0 */ true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ - false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ + true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -677,132 +679,37 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - true, /* true ==> converted JSON floating point to C float */ - -8589934592, /* JSON floating point value in float form */ + false, /* true ==> converted JSON floating point to C float */ + 0, /* no JSON floating point value in float form */ false, /* if float_sized == true, true ==> as_float is an integer */ - true, /* true ==> converted JSON floating point to C double */ - -8589934594.10000038147, /* JSON floating point value in double form */ + false, /* true ==> converted JSON floating point to C double */ + 0, /* no JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ - true, /* true ==> converted JSON floating point to C long double */ - -8589934594.10000038147L, /* JSON floating point value in long double form */ + false, /* true ==> converted JSON floating point to C long double */ + 0, /* no JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[2]: -8589934594.2e2 */ + /* test_result[2]: -1.0e1000000000 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + false, /* true ==> able to convert JSON number string to some form of C value */ - "-8589934594.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-8589934594.2e2", /* first whitespace character */ + "-1.0e1000000000", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-1.0e1000000000", /* first whitespace character */ 15, /* length of as_str */ 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ - true, /* true ==> value < 0 */ + false, /* true ==> value < 0 */ true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ - - false, /* true ==> converted JSON integer to C int8_t */ - 0, /* no JSON integer value in int8_t form */ - - false, /* true ==> converted JSON integer to C uint8_t */ - 0, /* no JSON integer value in uint8_t form */ - - false, /* true ==> converted JSON integer to C int16_t */ - 0, /* no JSON integer value in int16_t form */ - - false, /* true ==> converted JSON integer to C uint16_t */ - 0, /* no JSON integer value in uint16_t form */ - - false, /* true ==> converted JSON integer to C int32_t */ - 0, /* no JSON integer value in int32_t form */ - - false, /* true ==> converted JSON integer to C uint32_t */ - 0, /* no JSON integer value in uint32_t form */ - - false, /* true ==> converted JSON integer to C int64_t */ - 0, /* no JSON integer value in int64_t form */ - - false, /* true ==> converted JSON integer to C uint64_t */ - 0, /* no JSON integer value in uint64_t form */ - - false, /* true ==> converted JSON integer to C int */ - 0, /* no JSON integer value in int form */ - - false, /* true ==> converted JSON integer to C unsigned int */ - 0, /* no JSON integer value in unsigned int form */ - - false, /* true ==> converted JSON integer to C long */ - 0, /* no JSON integer value in long form */ - - false, /* true ==> converted JSON integer to C unsigned long */ - 0, /* no JSON integer value in unsigned long form */ - - false, /* true ==> converted JSON integer to C long long */ - 0, /* no JSON integer value in long long form */ - - false, /* true ==> converted JSON integer to C unsigned long long */ - 0, /* no JSON integer value in unsigned long long form */ - - false, /* true ==> converted JSON integer to C ssize_t */ - 0, /* no JSON integer value in ssize_t form */ - - false, /* true ==> converted JSON integer to C size_t */ - 0, /* no JSON integer value in size_t form */ - - false, /* true ==> converted JSON integer to C off_t */ - 0, /* no JSON integer value in off_t form */ - - false, /* true ==> converted JSON integer to C intmax_t */ - 0, /* no JSON integer value in intmax_t form */ - - false, /* true ==> converted JSON integer to C uintmax_t */ - 0, /* no JSON integer value in uintmax_t form */ - - /* floating point values */ - - true, /* true ==> converted JSON floating point to C float */ - -858993459200, /* JSON floating point value in float form */ - true, /* if float_sized == true, true ==> as_float is an integer */ - - true, /* true ==> converted JSON floating point to C double */ - -858993459420, /* JSON floating point value in double form */ - true, /* if double_sized == true, true ==> as_double is an integer */ - - true, /* true ==> converted JSON floating point to C long double */ - -858993459420L, /* JSON floating point value in long double form */ - true, /* if float_sized == true, true ==> as_float is an integer */ - }, - - /* test_result[3]: -8589934594.2E-4 */ - { - true, /* true ==> able to convert JSON number string to some form of C value */ - - true, /* true ==> able to parse JSON number string */ - - "-8589934594.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-8589934594.2E-4", /* first whitespace character */ - - 16, /* length of as_str */ - 16, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ - - true, /* true ==> value < 0 */ - - true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ - true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - /* integer values */ - false, /* true ==> integer conversion success, false ==> no integer conversion */ - false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -863,27 +770,26 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - true, /* true ==> converted JSON floating point to C float */ - -858993.4375, /* JSON floating point value in float form */ + false, /* true ==> converted JSON floating point to C float */ + 0, /* no JSON floating point value in float form */ false, /* if float_sized == true, true ==> as_float is an integer */ - true, /* true ==> converted JSON floating point to C double */ - -858993.4594199999701232, /* JSON floating point value in double form */ + false, /* true ==> converted JSON floating point to C double */ + 0, /* no JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ - true, /* true ==> converted JSON floating point to C long double */ - -858993.4594199999701232L, /* JSON floating point value in long double form */ + false, /* true ==> converted JSON floating point to C long double */ + 0, /* no JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[4]: -8589934593.0 */ + /* test_result[3]: -8589934594.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-8589934593.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-8589934593.0", /* first whitespace character */ + "-8589934594.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-8589934594.0", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -892,10 +798,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -961,22 +866,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -8589934593, /* JSON floating point value in double form */ + -8589934594, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -8589934593L, /* JSON floating point value in long double form */ + -8589934594L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[5]: -8589934593.1 */ + /* test_result[4]: -8589934594.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-8589934593.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-8589934593.1", /* first whitespace character */ + "-8589934594.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-8589934594.1", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -985,10 +889,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -1054,22 +957,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -8589934593.10000038147, /* JSON floating point value in double form */ + -8589934594.10000038147, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -8589934593.10000038147L, /* JSON floating point value in long double form */ + -8589934594.10000038147L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[6]: -8589934593.2e2 */ + /* test_result[5]: -8589934594.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-8589934593.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-8589934593.2e2", /* first whitespace character */ + "-8589934594.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-8589934594.2e2", /* first whitespace character */ 15, /* length of as_str */ 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -1078,10 +980,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -1147,22 +1048,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -858993459320, /* JSON floating point value in double form */ + -858993459420, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -858993459320L, /* JSON floating point value in long double form */ + -858993459420L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[7]: -8589934593.2E-4 */ + /* test_result[6]: -8589934594.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-8589934593.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-8589934593.2E-4", /* first whitespace character */ + "-8589934594.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-8589934594.2E-4", /* first whitespace character */ 16, /* length of as_str */ 16, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -1171,10 +1071,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -1240,22 +1139,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -858993.4593200000235811, /* JSON floating point value in double form */ + -858993.4594199999701232, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -858993.4593200000235811L, /* JSON floating point value in long double form */ + -858993.4594199999701232L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[8]: -8589934592.0 */ + /* test_result[7]: -8589934593.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-8589934592.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-8589934592.0", /* first whitespace character */ + "-8589934593.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-8589934593.0", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -1264,10 +1162,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -1333,22 +1230,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -8589934592, /* JSON floating point value in double form */ + -8589934593, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -8589934592L, /* JSON floating point value in long double form */ + -8589934593L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[9]: -8589934592.1 */ + /* test_result[8]: -8589934593.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-8589934592.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-8589934592.1", /* first whitespace character */ + "-8589934593.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-8589934593.1", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -1357,10 +1253,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -1426,22 +1321,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -8589934592.10000038147, /* JSON floating point value in double form */ + -8589934593.10000038147, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -8589934592.10000038147L, /* JSON floating point value in long double form */ + -8589934593.10000038147L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[10]: -8589934592.2e2 */ + /* test_result[9]: -8589934593.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-8589934592.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-8589934592.2e2", /* first whitespace character */ + "-8589934593.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-8589934593.2e2", /* first whitespace character */ 15, /* length of as_str */ 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -1450,10 +1344,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -1519,22 +1412,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -858993459220, /* JSON floating point value in double form */ + -858993459320, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -858993459220L, /* JSON floating point value in long double form */ + -858993459320L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[11]: -8589934592.2E-4 */ + /* test_result[10]: -8589934593.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-8589934592.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-8589934592.2E-4", /* first whitespace character */ + "-8589934593.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-8589934593.2E-4", /* first whitespace character */ 16, /* length of as_str */ 16, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -1543,10 +1435,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -1612,22 +1503,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -858993.4592199999606237, /* JSON floating point value in double form */ + -858993.4593200000235811, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -858993.4592199999606237L, /* JSON floating point value in long double form */ + -858993.4593200000235811L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[12]: -8589934591.0 */ + /* test_result[11]: -8589934592.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-8589934591.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-8589934591.0", /* first whitespace character */ + "-8589934592.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-8589934592.0", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -1636,10 +1526,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -1705,22 +1594,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -8589934591, /* JSON floating point value in double form */ + -8589934592, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -8589934591L, /* JSON floating point value in long double form */ + -8589934592L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[13]: -8589934591.1 */ + /* test_result[12]: -8589934592.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-8589934591.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-8589934591.1", /* first whitespace character */ + "-8589934592.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-8589934592.1", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -1729,10 +1617,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -1798,22 +1685,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -8589934591.10000038147, /* JSON floating point value in double form */ + -8589934592.10000038147, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -8589934591.10000038147L, /* JSON floating point value in long double form */ + -8589934592.10000038147L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[14]: -8589934591.2e2 */ + /* test_result[13]: -8589934592.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-8589934591.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-8589934591.2e2", /* first whitespace character */ + "-8589934592.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-8589934592.2e2", /* first whitespace character */ 15, /* length of as_str */ 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -1822,10 +1708,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -1891,22 +1776,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -858993459120, /* JSON floating point value in double form */ + -858993459220, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -858993459120L, /* JSON floating point value in long double form */ + -858993459220L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[15]: -8589934591.2E-4 */ + /* test_result[14]: -8589934592.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-8589934591.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-8589934591.2E-4", /* first whitespace character */ + "-8589934592.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-8589934592.2E-4", /* first whitespace character */ 16, /* length of as_str */ 16, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -1915,10 +1799,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -1984,22 +1867,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -858993.4591200000140816, /* JSON floating point value in double form */ + -858993.4592199999606237, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -858993.4591200000140816L, /* JSON floating point value in long double form */ + -858993.4592199999606237L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[16]: -8589934590.0 */ + /* test_result[15]: -8589934591.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-8589934590.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-8589934590.0", /* first whitespace character */ + "-8589934591.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-8589934591.0", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -2008,10 +1890,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -2077,22 +1958,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -8589934590, /* JSON floating point value in double form */ + -8589934591, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -8589934590L, /* JSON floating point value in long double form */ + -8589934591L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[17]: -8589934590.1 */ + /* test_result[16]: -8589934591.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-8589934590.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-8589934590.1", /* first whitespace character */ + "-8589934591.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-8589934591.1", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -2101,10 +1981,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -2170,22 +2049,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -8589934590.10000038147, /* JSON floating point value in double form */ + -8589934591.10000038147, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -8589934590.10000038147L, /* JSON floating point value in long double form */ + -8589934591.10000038147L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[18]: -8589934590.2e2 */ + /* test_result[17]: -8589934591.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-8589934590.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-8589934590.2e2", /* first whitespace character */ + "-8589934591.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-8589934591.2e2", /* first whitespace character */ 15, /* length of as_str */ 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -2194,10 +2072,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -2263,22 +2140,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -858993459020, /* JSON floating point value in double form */ + -858993459120, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -858993459020L, /* JSON floating point value in long double form */ + -858993459120L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[19]: -8589934590.2E-4 */ + /* test_result[18]: -8589934591.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-8589934590.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-8589934590.2E-4", /* first whitespace character */ + "-8589934591.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-8589934591.2E-4", /* first whitespace character */ 16, /* length of as_str */ 16, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -2287,10 +2163,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -2356,22 +2231,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -858993.4590199999511242, /* JSON floating point value in double form */ + -858993.4591200000140816, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -858993.4590199999511242L, /* JSON floating point value in long double form */ + -858993.4591200000140816L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[20]: -4294967298.0 */ + /* test_result[19]: -8589934590.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-4294967298.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-4294967298.0", /* first whitespace character */ + "-8589934590.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-8589934590.0", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -2380,10 +2254,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -2445,26 +2318,25 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -4294967296, /* JSON floating point value in float form */ + -8589934592, /* JSON floating point value in float form */ true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -4294967298, /* JSON floating point value in double form */ + -8589934590, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -4294967298L, /* JSON floating point value in long double form */ + -8589934590L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[21]: -4294967298.1 */ + /* test_result[20]: -8589934590.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-4294967298.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-4294967298.1", /* first whitespace character */ + "-8589934590.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-8589934590.1", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -2473,10 +2345,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -2538,26 +2409,25 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -4294967296, /* JSON floating point value in float form */ + -8589934592, /* JSON floating point value in float form */ false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -4294967298.10000038147, /* JSON floating point value in double form */ + -8589934590.10000038147, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -4294967298.10000038147L, /* JSON floating point value in long double form */ + -8589934590.10000038147L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[22]: -4294967298.2e2 */ + /* test_result[21]: -8589934590.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-4294967298.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-4294967298.2e2", /* first whitespace character */ + "-8589934590.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-8589934590.2e2", /* first whitespace character */ 15, /* length of as_str */ 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -2566,10 +2436,100 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ + false, /* true ==> integer conversion success, false ==> no integer conversion */ /* integer values */ + + false, /* true ==> converted JSON integer to C int8_t */ + 0, /* no JSON integer value in int8_t form */ + + false, /* true ==> converted JSON integer to C uint8_t */ + 0, /* no JSON integer value in uint8_t form */ + + false, /* true ==> converted JSON integer to C int16_t */ + 0, /* no JSON integer value in int16_t form */ + + false, /* true ==> converted JSON integer to C uint16_t */ + 0, /* no JSON integer value in uint16_t form */ + + false, /* true ==> converted JSON integer to C int32_t */ + 0, /* no JSON integer value in int32_t form */ + + false, /* true ==> converted JSON integer to C uint32_t */ + 0, /* no JSON integer value in uint32_t form */ + + false, /* true ==> converted JSON integer to C int64_t */ + 0, /* no JSON integer value in int64_t form */ + + false, /* true ==> converted JSON integer to C uint64_t */ + 0, /* no JSON integer value in uint64_t form */ + + false, /* true ==> converted JSON integer to C int */ + 0, /* no JSON integer value in int form */ + + false, /* true ==> converted JSON integer to C unsigned int */ + 0, /* no JSON integer value in unsigned int form */ + + false, /* true ==> converted JSON integer to C long */ + 0, /* no JSON integer value in long form */ + + false, /* true ==> converted JSON integer to C unsigned long */ + 0, /* no JSON integer value in unsigned long form */ + + false, /* true ==> converted JSON integer to C long long */ + 0, /* no JSON integer value in long long form */ + + false, /* true ==> converted JSON integer to C unsigned long long */ + 0, /* no JSON integer value in unsigned long long form */ + + false, /* true ==> converted JSON integer to C ssize_t */ + 0, /* no JSON integer value in ssize_t form */ + + false, /* true ==> converted JSON integer to C size_t */ + 0, /* no JSON integer value in size_t form */ + + false, /* true ==> converted JSON integer to C off_t */ + 0, /* no JSON integer value in off_t form */ + + false, /* true ==> converted JSON integer to C intmax_t */ + 0, /* no JSON integer value in intmax_t form */ + + false, /* true ==> converted JSON integer to C uintmax_t */ + 0, /* no JSON integer value in uintmax_t form */ + + /* floating point values */ + + true, /* true ==> converted JSON floating point to C float */ + -858993459200, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ + + true, /* true ==> converted JSON floating point to C double */ + -858993459020, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ + + true, /* true ==> converted JSON floating point to C long double */ + -858993459020L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ + }, + + /* test_result[22]: -8589934590.2E-4 */ + { + true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ + + "-8589934590.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-8589934590.2E-4", /* first whitespace character */ + + 16, /* length of as_str */ + 16, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + + true, /* true ==> value < 0 */ + + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -2631,119 +2591,25 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -429496729600, /* JSON floating point value in float form */ - true, /* if float_sized == true, true ==> as_float is an integer */ - - true, /* true ==> converted JSON floating point to C double */ - -429496729820, /* JSON floating point value in double form */ - true, /* if double_sized == true, true ==> as_double is an integer */ - - true, /* true ==> converted JSON floating point to C long double */ - -429496729820L, /* JSON floating point value in long double form */ - true, /* if float_sized == true, true ==> as_float is an integer */ - }, - - /* test_result[23]: -4294967298.2E-4 */ - { - true, /* true ==> able to convert JSON number string to some form of C value */ - - true, /* true ==> able to parse JSON number string */ - - "-4294967298.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-4294967298.2E-4", /* first whitespace character */ - - 16, /* length of as_str */ - 16, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ - - true, /* true ==> value < 0 */ - - true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ - true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ - false, /* true ==> integer conversion success, false ==> no integer conversion */ - - - false, /* true ==> converted JSON integer to C int8_t */ - 0, /* no JSON integer value in int8_t form */ - - false, /* true ==> converted JSON integer to C uint8_t */ - 0, /* no JSON integer value in uint8_t form */ - - false, /* true ==> converted JSON integer to C int16_t */ - 0, /* no JSON integer value in int16_t form */ - - false, /* true ==> converted JSON integer to C uint16_t */ - 0, /* no JSON integer value in uint16_t form */ - - false, /* true ==> converted JSON integer to C int32_t */ - 0, /* no JSON integer value in int32_t form */ - - false, /* true ==> converted JSON integer to C uint32_t */ - 0, /* no JSON integer value in uint32_t form */ - - false, /* true ==> converted JSON integer to C int64_t */ - 0, /* no JSON integer value in int64_t form */ - - false, /* true ==> converted JSON integer to C uint64_t */ - 0, /* no JSON integer value in uint64_t form */ - - false, /* true ==> converted JSON integer to C int */ - 0, /* no JSON integer value in int form */ - - false, /* true ==> converted JSON integer to C unsigned int */ - 0, /* no JSON integer value in unsigned int form */ - - false, /* true ==> converted JSON integer to C long */ - 0, /* no JSON integer value in long form */ - - false, /* true ==> converted JSON integer to C unsigned long */ - 0, /* no JSON integer value in unsigned long form */ - - false, /* true ==> converted JSON integer to C long long */ - 0, /* no JSON integer value in long long form */ - - false, /* true ==> converted JSON integer to C unsigned long long */ - 0, /* no JSON integer value in unsigned long long form */ - - false, /* true ==> converted JSON integer to C ssize_t */ - 0, /* no JSON integer value in ssize_t form */ - - false, /* true ==> converted JSON integer to C size_t */ - 0, /* no JSON integer value in size_t form */ - - false, /* true ==> converted JSON integer to C off_t */ - 0, /* no JSON integer value in off_t form */ - - false, /* true ==> converted JSON integer to C intmax_t */ - 0, /* no JSON integer value in intmax_t form */ - - false, /* true ==> converted JSON integer to C uintmax_t */ - 0, /* no JSON integer value in uintmax_t form */ - - /* floating point values */ - - true, /* true ==> converted JSON floating point to C float */ - -429496.71875, /* JSON floating point value in float form */ + -858993.4375, /* JSON floating point value in float form */ false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -429496.7298200000077486, /* JSON floating point value in double form */ + -858993.4590199999511242, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -429496.7298200000077486L, /* JSON floating point value in long double form */ + -858993.4590199999511242L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[24]: -4294967297.0 */ + /* test_result[23]: -4294967298.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-4294967297.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-4294967297.0", /* first whitespace character */ + "-4294967298.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-4294967298.0", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -2752,10 +2618,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -2821,22 +2686,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -4294967297, /* JSON floating point value in double form */ + -4294967298, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -4294967297L, /* JSON floating point value in long double form */ + -4294967298L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[25]: -4294967297.1 */ + /* test_result[24]: -4294967298.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-4294967297.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-4294967297.1", /* first whitespace character */ + "-4294967298.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-4294967298.1", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -2845,10 +2709,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -2914,22 +2777,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -4294967297.10000038147, /* JSON floating point value in double form */ + -4294967298.10000038147, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -4294967297.10000038147L, /* JSON floating point value in long double form */ + -4294967298.10000038147L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[26]: -4294967297.2e2 */ + /* test_result[25]: -4294967298.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-4294967297.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-4294967297.2e2", /* first whitespace character */ + "-4294967298.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-4294967298.2e2", /* first whitespace character */ 15, /* length of as_str */ 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -2938,10 +2800,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -3007,22 +2868,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -429496729720, /* JSON floating point value in double form */ + -429496729820, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -429496729720L, /* JSON floating point value in long double form */ + -429496729820L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[27]: -4294967297.2E-4 */ + /* test_result[26]: -4294967298.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-4294967297.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-4294967297.2E-4", /* first whitespace character */ + "-4294967298.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-4294967298.2E-4", /* first whitespace character */ 16, /* length of as_str */ 16, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -3031,10 +2891,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -3100,22 +2959,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -429496.7297200000029989, /* JSON floating point value in double form */ + -429496.7298200000077486, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -429496.7297200000029989L, /* JSON floating point value in long double form */ + -429496.7298200000077486L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[28]: -4294967296.0 */ + /* test_result[27]: -4294967297.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-4294967296.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-4294967296.0", /* first whitespace character */ + "-4294967297.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-4294967297.0", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -3124,10 +2982,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -3193,22 +3050,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -4294967296, /* JSON floating point value in double form */ + -4294967297, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -4294967296L, /* JSON floating point value in long double form */ + -4294967297L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[29]: -4294967296.1 */ + /* test_result[28]: -4294967297.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-4294967296.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-4294967296.1", /* first whitespace character */ + "-4294967297.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-4294967297.1", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -3217,10 +3073,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -3286,22 +3141,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -4294967296.10000038147, /* JSON floating point value in double form */ + -4294967297.10000038147, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -4294967296.10000038147L, /* JSON floating point value in long double form */ + -4294967297.10000038147L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[30]: -4294967296.2e2 */ + /* test_result[29]: -4294967297.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-4294967296.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-4294967296.2e2", /* first whitespace character */ + "-4294967297.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-4294967297.2e2", /* first whitespace character */ 15, /* length of as_str */ 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -3310,10 +3164,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -3379,22 +3232,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -429496729620, /* JSON floating point value in double form */ + -429496729720, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -429496729620L, /* JSON floating point value in long double form */ + -429496729720L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[31]: -4294967296.2E-4 */ + /* test_result[30]: -4294967297.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-4294967296.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-4294967296.2E-4", /* first whitespace character */ + "-4294967297.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-4294967297.2E-4", /* first whitespace character */ 16, /* length of as_str */ 16, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -3403,10 +3255,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -3472,22 +3323,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -429496.7296199999982491, /* JSON floating point value in double form */ + -429496.7297200000029989, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -429496.7296199999982491L, /* JSON floating point value in long double form */ + -429496.7297200000029989L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[32]: -4294967295.0 */ + /* test_result[31]: -4294967296.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-4294967295.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-4294967295.0", /* first whitespace character */ + "-4294967296.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-4294967296.0", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -3496,10 +3346,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -3565,22 +3414,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -4294967295, /* JSON floating point value in double form */ + -4294967296, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -4294967295L, /* JSON floating point value in long double form */ + -4294967296L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[33]: -4294967295.1 */ + /* test_result[32]: -4294967296.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-4294967295.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-4294967295.1", /* first whitespace character */ + "-4294967296.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-4294967296.1", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -3589,10 +3437,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -3658,22 +3505,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -4294967295.099999904633, /* JSON floating point value in double form */ + -4294967296.10000038147, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -4294967295.099999904633L, /* JSON floating point value in long double form */ + -4294967296.10000038147L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[34]: -4294967295.2e2 */ + /* test_result[33]: -4294967296.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-4294967295.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-4294967295.2e2", /* first whitespace character */ + "-4294967296.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-4294967296.2e2", /* first whitespace character */ 15, /* length of as_str */ 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -3682,10 +3528,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -3751,22 +3596,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -429496729520, /* JSON floating point value in double form */ + -429496729620, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -429496729520L, /* JSON floating point value in long double form */ + -429496729620L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[35]: -4294967295.2E-4 */ + /* test_result[34]: -4294967296.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-4294967295.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-4294967295.2E-4", /* first whitespace character */ + "-4294967296.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-4294967296.2E-4", /* first whitespace character */ 16, /* length of as_str */ 16, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -3775,10 +3619,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -3844,22 +3687,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -429496.7295199999934994, /* JSON floating point value in double form */ + -429496.7296199999982491, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -429496.7295199999934994L, /* JSON floating point value in long double form */ + -429496.7296199999982491L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[36]: -4294967294.0 */ + /* test_result[35]: -4294967295.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-4294967294.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-4294967294.0", /* first whitespace character */ + "-4294967295.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-4294967295.0", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -3868,10 +3710,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -3937,22 +3778,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -4294967294, /* JSON floating point value in double form */ + -4294967295, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -4294967294L, /* JSON floating point value in long double form */ + -4294967295L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[37]: -4294967294.1 */ + /* test_result[36]: -4294967295.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-4294967294.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-4294967294.1", /* first whitespace character */ + "-4294967295.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-4294967295.1", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -3961,10 +3801,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -4030,22 +3869,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -4294967294.099999904633, /* JSON floating point value in double form */ + -4294967295.099999904633, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -4294967294.099999904633L, /* JSON floating point value in long double form */ + -4294967295.099999904633L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[38]: -4294967294.2e2 */ + /* test_result[37]: -4294967295.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-4294967294.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-4294967294.2e2", /* first whitespace character */ + "-4294967295.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-4294967295.2e2", /* first whitespace character */ 15, /* length of as_str */ 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -4054,10 +3892,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -4123,22 +3960,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -429496729420, /* JSON floating point value in double form */ + -429496729520, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -429496729420L, /* JSON floating point value in long double form */ + -429496729520L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[39]: -4294967294.2E-4 */ + /* test_result[38]: -4294967295.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-4294967294.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-4294967294.2E-4", /* first whitespace character */ + "-4294967295.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-4294967295.2E-4", /* first whitespace character */ 16, /* length of as_str */ 16, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -4147,10 +3983,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -4216,22 +4051,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -429496.7294199999887496, /* JSON floating point value in double form */ + -429496.7295199999934994, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -429496.7294199999887496L, /* JSON floating point value in long double form */ + -429496.7295199999934994L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[40]: -2147483650.0 */ + /* test_result[39]: -4294967294.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-2147483650.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-2147483650.0", /* first whitespace character */ + "-4294967294.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-4294967294.0", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -4240,10 +4074,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -4305,26 +4138,25 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -2147483648, /* JSON floating point value in float form */ + -4294967296, /* JSON floating point value in float form */ true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -2147483650, /* JSON floating point value in double form */ + -4294967294, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -2147483650L, /* JSON floating point value in long double form */ + -4294967294L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[41]: -2147483650.1 */ + /* test_result[40]: -4294967294.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-2147483650.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-2147483650.1", /* first whitespace character */ + "-4294967294.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-4294967294.1", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -4333,10 +4165,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -4398,26 +4229,25 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -2147483648, /* JSON floating point value in float form */ + -4294967296, /* JSON floating point value in float form */ false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -2147483650.099999904633, /* JSON floating point value in double form */ + -4294967294.099999904633, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -2147483650.099999904633L, /* JSON floating point value in long double form */ + -4294967294.099999904633L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[42]: -2147483650.2e2 */ + /* test_result[41]: -4294967294.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-2147483650.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-2147483650.2e2", /* first whitespace character */ + "-4294967294.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-4294967294.2e2", /* first whitespace character */ 15, /* length of as_str */ 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -4426,10 +4256,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -4491,26 +4320,25 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -214748364800, /* JSON floating point value in float form */ + -429496729600, /* JSON floating point value in float form */ true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -214748365020, /* JSON floating point value in double form */ + -429496729420, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -214748365020L, /* JSON floating point value in long double form */ + -429496729420L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[43]: -2147483650.2E-4 */ + /* test_result[42]: -4294967294.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-2147483650.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-2147483650.2E-4", /* first whitespace character */ + "-4294967294.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-4294967294.2E-4", /* first whitespace character */ 16, /* length of as_str */ 16, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -4519,10 +4347,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -4584,26 +4411,25 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -214748.359375, /* JSON floating point value in float form */ + -429496.71875, /* JSON floating point value in float form */ false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -214748.3650199999974575, /* JSON floating point value in double form */ + -429496.7294199999887496, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -214748.3650199999974575L, /* JSON floating point value in long double form */ + -429496.7294199999887496L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[44]: -2147483649.0 */ + /* test_result[43]: -2147483650.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-2147483649.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-2147483649.0", /* first whitespace character */ + "-2147483650.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-2147483650.0", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -4612,10 +4438,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -4681,22 +4506,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -2147483649, /* JSON floating point value in double form */ + -2147483650, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -2147483649L, /* JSON floating point value in long double form */ + -2147483650L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[45]: -2147483649.1 */ + /* test_result[44]: -2147483650.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-2147483649.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-2147483649.1", /* first whitespace character */ + "-2147483650.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-2147483650.1", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -4705,10 +4529,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -4774,22 +4597,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -2147483649.099999904633, /* JSON floating point value in double form */ + -2147483650.099999904633, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -2147483649.099999904633L, /* JSON floating point value in long double form */ + -2147483650.099999904633L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[46]: -2147483649.2e2 */ + /* test_result[45]: -2147483650.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-2147483649.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-2147483649.2e2", /* first whitespace character */ + "-2147483650.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-2147483650.2e2", /* first whitespace character */ 15, /* length of as_str */ 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -4798,10 +4620,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -4867,22 +4688,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -214748364920, /* JSON floating point value in double form */ + -214748365020, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -214748364920L, /* JSON floating point value in long double form */ + -214748365020L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[47]: -2147483649.2E-4 */ + /* test_result[46]: -2147483650.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-2147483649.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-2147483649.2E-4", /* first whitespace character */ + "-2147483650.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-2147483650.2E-4", /* first whitespace character */ 16, /* length of as_str */ 16, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -4891,10 +4711,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -4960,22 +4779,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -214748.3649199999927077, /* JSON floating point value in double form */ + -214748.3650199999974575, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -214748.3649199999927077L, /* JSON floating point value in long double form */ + -214748.3650199999974575L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[48]: -2147483648.0 */ + /* test_result[47]: -2147483649.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-2147483648.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-2147483648.0", /* first whitespace character */ + "-2147483649.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-2147483649.0", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -4984,10 +4802,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -5053,22 +4870,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -2147483648, /* JSON floating point value in double form */ + -2147483649, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -2147483648L, /* JSON floating point value in long double form */ + -2147483649L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[49]: -2147483648.1 */ + /* test_result[48]: -2147483649.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-2147483648.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-2147483648.1", /* first whitespace character */ + "-2147483649.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-2147483649.1", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -5077,10 +4893,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -5146,22 +4961,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -2147483648.099999904633, /* JSON floating point value in double form */ + -2147483649.099999904633, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -2147483648.099999904633L, /* JSON floating point value in long double form */ + -2147483649.099999904633L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[50]: -2147483648.2e2 */ + /* test_result[49]: -2147483649.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-2147483648.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-2147483648.2e2", /* first whitespace character */ + "-2147483649.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-2147483649.2e2", /* first whitespace character */ 15, /* length of as_str */ 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -5170,10 +4984,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -5239,22 +5052,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -214748364820, /* JSON floating point value in double form */ + -214748364920, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -214748364820L, /* JSON floating point value in long double form */ + -214748364920L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[51]: -2147483648.2E-4 */ + /* test_result[50]: -2147483649.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-2147483648.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-2147483648.2E-4", /* first whitespace character */ + "-2147483649.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-2147483649.2E-4", /* first whitespace character */ 16, /* length of as_str */ 16, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -5263,10 +5075,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -5332,22 +5143,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -214748.364819999987958, /* JSON floating point value in double form */ + -214748.3649199999927077, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -214748.364819999987958L, /* JSON floating point value in long double form */ + -214748.3649199999927077L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[52]: -2147483647.0 */ + /* test_result[51]: -2147483648.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-2147483647.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-2147483647.0", /* first whitespace character */ + "-2147483648.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-2147483648.0", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -5356,10 +5166,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -5425,22 +5234,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -2147483647, /* JSON floating point value in double form */ + -2147483648, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -2147483647L, /* JSON floating point value in long double form */ + -2147483648L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[53]: -2147483647.1 */ + /* test_result[52]: -2147483648.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-2147483647.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-2147483647.1", /* first whitespace character */ + "-2147483648.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-2147483648.1", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -5449,10 +5257,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -5518,22 +5325,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -2147483647.099999904633, /* JSON floating point value in double form */ + -2147483648.099999904633, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -2147483647.099999904633L, /* JSON floating point value in long double form */ + -2147483648.099999904633L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[54]: -2147483647.2e2 */ + /* test_result[53]: -2147483648.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-2147483647.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-2147483647.2e2", /* first whitespace character */ + "-2147483648.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-2147483648.2e2", /* first whitespace character */ 15, /* length of as_str */ 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -5542,10 +5348,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -5611,22 +5416,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -214748364720, /* JSON floating point value in double form */ + -214748364820, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -214748364720L, /* JSON floating point value in long double form */ + -214748364820L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[55]: -2147483647.2E-4 */ + /* test_result[54]: -2147483648.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-2147483647.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-2147483647.2E-4", /* first whitespace character */ + "-2147483648.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-2147483648.2E-4", /* first whitespace character */ 16, /* length of as_str */ 16, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -5635,10 +5439,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -5704,22 +5507,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -214748.3647200000123121, /* JSON floating point value in double form */ + -214748.364819999987958, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -214748.3647200000123121L, /* JSON floating point value in long double form */ + -214748.364819999987958L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[56]: -2147483646.0 */ + /* test_result[55]: -2147483647.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-2147483646.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-2147483646.0", /* first whitespace character */ + "-2147483647.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-2147483647.0", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -5728,10 +5530,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -5797,22 +5598,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -2147483646, /* JSON floating point value in double form */ + -2147483647, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -2147483646L, /* JSON floating point value in long double form */ + -2147483647L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[57]: -2147483646.1 */ + /* test_result[56]: -2147483647.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-2147483646.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-2147483646.1", /* first whitespace character */ + "-2147483647.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-2147483647.1", /* first whitespace character */ 13, /* length of as_str */ 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -5821,10 +5621,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -5890,22 +5689,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -2147483646.099999904633, /* JSON floating point value in double form */ + -2147483647.099999904633, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -2147483646.099999904633L, /* JSON floating point value in long double form */ + -2147483647.099999904633L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[58]: -2147483646.2e2 */ + /* test_result[57]: -2147483647.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-2147483646.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-2147483646.2e2", /* first whitespace character */ + "-2147483647.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-2147483647.2e2", /* first whitespace character */ 15, /* length of as_str */ 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -5914,10 +5712,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -5983,22 +5780,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -214748364620, /* JSON floating point value in double form */ + -214748364720, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -214748364620L, /* JSON floating point value in long double form */ + -214748364720L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[59]: -2147483646.2E-4 */ + /* test_result[58]: -2147483647.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-2147483646.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-2147483646.2E-4", /* first whitespace character */ + "-2147483647.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-2147483647.2E-4", /* first whitespace character */ 16, /* length of as_str */ 16, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -6007,10 +5803,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -6076,34 +5871,32 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -214748.3646200000075623, /* JSON floating point value in double form */ + -214748.3647200000123121, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -214748.3646200000075623L, /* JSON floating point value in long double form */ + -214748.3647200000123121L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[60]: -131074.0 */ + /* test_result[59]: -2147483646.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-131074.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-131074.0", /* first whitespace character */ + "-2147483646.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-2147483646.0", /* first whitespace character */ - 9, /* length of as_str */ - 9, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + 13, /* length of as_str */ + 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ true, /* true ==> value < 0 */ true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -6165,131 +5958,36 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -131074, /* JSON floating point value in float form */ + -2147483648, /* JSON floating point value in float form */ true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -131074, /* JSON floating point value in double form */ + -2147483646, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -131074L, /* JSON floating point value in long double form */ + -2147483646L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[61]: -131074 */ + /* test_result[60]: -2147483646.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ - - "-131074", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-131074", /* first whitespace character */ - - 7, /* length of as_str */ - 7, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ - - true, /* true ==> value < 0 */ - - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ - false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ - true, /* true ==> integer conversion success, false ==> no integer conversion */ - - - false, /* true ==> converted JSON integer to C int8_t */ - 0, /* no JSON integer value in int8_t form */ - - false, /* true ==> converted JSON integer to C uint8_t */ - 0, /* no JSON integer value in uint8_t form */ - - false, /* true ==> converted JSON integer to C int16_t */ - 0, /* no JSON integer value in int16_t form */ - - false, /* true ==> converted JSON integer to C uint16_t */ - 0, /* no JSON integer value in uint16_t form */ - - true, /* true ==> converted JSON integer to C int32_t */ - -131074, /* JSON integer value in int32_t form */ - - false, /* true ==> converted JSON integer to C uint32_t */ - 0, /* no JSON integer value in uint32_t form */ - - true, /* true ==> converted JSON integer to C int64_t */ - -131074, /* JSON integer value in int64_t form */ - - false, /* true ==> converted JSON integer to C uint64_t */ - 0, /* no JSON integer value in uint64_t form */ - - true, /* true ==> converted JSON integer to C int */ - -131074, /* JSON integer value in int form */ - - false, /* true ==> converted JSON integer to C unsigned int */ - 0, /* no JSON integer value in unsigned int form */ - - true, /* true ==> converted JSON integer to C long */ - -131074, /* JSON integer value in long form */ - - false, /* true ==> converted JSON integer to C unsigned long */ - 0, /* no JSON integer value in unsigned long form */ - - true, /* true ==> converted JSON integer to C long long */ - -131074, /* JSON integer value in long long form */ - - false, /* true ==> converted JSON integer to C unsigned long long */ - 0, /* no JSON integer value in unsigned long long form */ - - true, /* true ==> converted JSON integer to C ssize_t */ - -131074, /* JSON integer value in ssize_t form */ - - false, /* true ==> converted JSON integer to C size_t */ - 0, /* no JSON integer value in size_t form */ - - true, /* true ==> converted JSON integer to C off_t */ - -131074, /* JSON integer value in off_t form */ - - true, /* true ==> converted JSON integer to C intmax_t */ - -131074, /* JSON integer value in intmax_t form */ - - false, /* true ==> converted JSON integer to C uintmax_t */ - 0, /* no JSON integer value in uintmax_t form */ - - /* floating point values */ - - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ - - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ - - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ - }, - - /* test_result[62]: -131074.1 */ - { true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ - - "-131074.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-131074.1", /* first whitespace character */ + "-2147483646.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-2147483646.1", /* first whitespace character */ - 9, /* length of as_str */ - 9, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + 13, /* length of as_str */ + 13, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ true, /* true ==> value < 0 */ true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -6351,38 +6049,36 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -131074.09375, /* JSON floating point value in float form */ + -2147483648, /* JSON floating point value in float form */ false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -131074.1000000000058208, /* JSON floating point value in double form */ + -2147483646.099999904633, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -131074.1000000000058208L, /* JSON floating point value in long double form */ + -2147483646.099999904633L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[63]: -131074.2e2 */ + /* test_result[61]: -2147483646.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-131074.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-131074.2e2", /* first whitespace character */ + "-2147483646.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-2147483646.2e2", /* first whitespace character */ - 11, /* length of as_str */ - 11, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + 15, /* length of as_str */ + 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ true, /* true ==> value < 0 */ true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -6444,38 +6140,36 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -13107420, /* JSON floating point value in float form */ + -214748364800, /* JSON floating point value in float form */ true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -13107420, /* JSON floating point value in double form */ + -214748364620, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -13107420L, /* JSON floating point value in long double form */ + -214748364620L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[64]: -131074.2E-4 */ + /* test_result[62]: -2147483646.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-131074.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-131074.2E-4", /* first whitespace character */ + "-2147483646.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-2147483646.2E-4", /* first whitespace character */ - 12, /* length of as_str */ - 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + 16, /* length of as_str */ + 16, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ true, /* true ==> value < 0 */ true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -6537,26 +6231,25 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -13.1074199676513671875, /* JSON floating point value in float form */ + -214748.359375, /* JSON floating point value in float form */ false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -13.10741999999999940485, /* JSON floating point value in double form */ + -214748.3646200000075623, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -13.10741999999999940485L, /* JSON floating point value in long double form */ + -214748.3646200000075623L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[65]: -131073.0 */ + /* test_result[63]: -131074.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-131073.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-131073.0", /* first whitespace character */ + "-131074.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-131074.0", /* first whitespace character */ 9, /* length of as_str */ 9, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -6565,10 +6258,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -6630,38 +6322,36 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -131073, /* JSON floating point value in float form */ + -131074, /* JSON floating point value in float form */ true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -131073, /* JSON floating point value in double form */ + -131074, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -131073L, /* JSON floating point value in long double form */ + -131074L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[66]: -131073 */ + /* test_result[64]: -131074 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-131073", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-131073", /* first whitespace character */ + "-131074", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-131074", /* first whitespace character */ 7, /* length of as_str */ 7, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -6676,73 +6366,72 @@ struct json_number test_result[TEST_COUNT+1] = { 0, /* no JSON integer value in uint16_t form */ true, /* true ==> converted JSON integer to C int32_t */ - -131073, /* JSON integer value in int32_t form */ + -131074, /* JSON integer value in int32_t form */ false, /* true ==> converted JSON integer to C uint32_t */ 0, /* no JSON integer value in uint32_t form */ true, /* true ==> converted JSON integer to C int64_t */ - -131073, /* JSON integer value in int64_t form */ + -131074, /* JSON integer value in int64_t form */ false, /* true ==> converted JSON integer to C uint64_t */ 0, /* no JSON integer value in uint64_t form */ true, /* true ==> converted JSON integer to C int */ - -131073, /* JSON integer value in int form */ + -131074, /* JSON integer value in int form */ false, /* true ==> converted JSON integer to C unsigned int */ 0, /* no JSON integer value in unsigned int form */ true, /* true ==> converted JSON integer to C long */ - -131073, /* JSON integer value in long form */ + -131074, /* JSON integer value in long form */ false, /* true ==> converted JSON integer to C unsigned long */ 0, /* no JSON integer value in unsigned long form */ true, /* true ==> converted JSON integer to C long long */ - -131073, /* JSON integer value in long long form */ + -131074, /* JSON integer value in long long form */ false, /* true ==> converted JSON integer to C unsigned long long */ 0, /* no JSON integer value in unsigned long long form */ true, /* true ==> converted JSON integer to C ssize_t */ - -131073, /* JSON integer value in ssize_t form */ + -131074, /* JSON integer value in ssize_t form */ false, /* true ==> converted JSON integer to C size_t */ 0, /* no JSON integer value in size_t form */ true, /* true ==> converted JSON integer to C off_t */ - -131073, /* JSON integer value in off_t form */ + -131074, /* JSON integer value in off_t form */ true, /* true ==> converted JSON integer to C intmax_t */ - -131073, /* JSON integer value in intmax_t form */ + -131074, /* JSON integer value in intmax_t form */ false, /* true ==> converted JSON integer to C uintmax_t */ 0, /* no JSON integer value in uintmax_t form */ /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -131074, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -131074, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -131074L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[67]: -131073.1 */ + /* test_result[65]: -131074.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-131073.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-131073.1", /* first whitespace character */ + "-131074.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-131074.1", /* first whitespace character */ 9, /* length of as_str */ 9, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -6751,10 +6440,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -6816,26 +6504,25 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -131073.09375, /* JSON floating point value in float form */ + -131074.09375, /* JSON floating point value in float form */ false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -131073.1000000000058208, /* JSON floating point value in double form */ + -131074.1000000000058208, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -131073.1000000000058208L, /* JSON floating point value in long double form */ + -131074.1000000000058208L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[68]: -131073.2e2 */ + /* test_result[66]: -131074.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-131073.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-131073.2e2", /* first whitespace character */ + "-131074.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-131074.2e2", /* first whitespace character */ 11, /* length of as_str */ 11, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -6844,10 +6531,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -6909,26 +6595,25 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -13107320, /* JSON floating point value in float form */ + -13107420, /* JSON floating point value in float form */ true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -13107320, /* JSON floating point value in double form */ + -13107420, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -13107320L, /* JSON floating point value in long double form */ + -13107420L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[69]: -131073.2E-4 */ + /* test_result[67]: -131074.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-131073.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-131073.2E-4", /* first whitespace character */ + "-131074.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-131074.2E-4", /* first whitespace character */ 12, /* length of as_str */ 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -6937,10 +6622,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -7002,26 +6686,25 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -13.10731983184814453125, /* JSON floating point value in float form */ + -13.1074199676513671875, /* JSON floating point value in float form */ false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -13.10731999999999963791, /* JSON floating point value in double form */ + -13.10741999999999940485, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -13.10731999999999963791L, /* JSON floating point value in long double form */ + -13.10741999999999940485L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[70]: -131072.0 */ + /* test_result[68]: -131073.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-131072.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-131072.0", /* first whitespace character */ + "-131073.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-131073.0", /* first whitespace character */ 9, /* length of as_str */ 9, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -7030,10 +6713,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -7095,38 +6777,36 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -131072, /* JSON floating point value in float form */ + -131073, /* JSON floating point value in float form */ true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -131072, /* JSON floating point value in double form */ + -131073, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -131072L, /* JSON floating point value in long double form */ + -131073L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[71]: -131072 */ + /* test_result[69]: -131073 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-131072", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-131072", /* first whitespace character */ + "-131073", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-131073", /* first whitespace character */ 7, /* length of as_str */ 7, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -7141,73 +6821,72 @@ struct json_number test_result[TEST_COUNT+1] = { 0, /* no JSON integer value in uint16_t form */ true, /* true ==> converted JSON integer to C int32_t */ - -131072, /* JSON integer value in int32_t form */ + -131073, /* JSON integer value in int32_t form */ false, /* true ==> converted JSON integer to C uint32_t */ 0, /* no JSON integer value in uint32_t form */ true, /* true ==> converted JSON integer to C int64_t */ - -131072, /* JSON integer value in int64_t form */ + -131073, /* JSON integer value in int64_t form */ false, /* true ==> converted JSON integer to C uint64_t */ 0, /* no JSON integer value in uint64_t form */ true, /* true ==> converted JSON integer to C int */ - -131072, /* JSON integer value in int form */ + -131073, /* JSON integer value in int form */ false, /* true ==> converted JSON integer to C unsigned int */ 0, /* no JSON integer value in unsigned int form */ true, /* true ==> converted JSON integer to C long */ - -131072, /* JSON integer value in long form */ + -131073, /* JSON integer value in long form */ false, /* true ==> converted JSON integer to C unsigned long */ 0, /* no JSON integer value in unsigned long form */ true, /* true ==> converted JSON integer to C long long */ - -131072, /* JSON integer value in long long form */ + -131073, /* JSON integer value in long long form */ false, /* true ==> converted JSON integer to C unsigned long long */ 0, /* no JSON integer value in unsigned long long form */ true, /* true ==> converted JSON integer to C ssize_t */ - -131072, /* JSON integer value in ssize_t form */ + -131073, /* JSON integer value in ssize_t form */ false, /* true ==> converted JSON integer to C size_t */ 0, /* no JSON integer value in size_t form */ true, /* true ==> converted JSON integer to C off_t */ - -131072, /* JSON integer value in off_t form */ + -131073, /* JSON integer value in off_t form */ true, /* true ==> converted JSON integer to C intmax_t */ - -131072, /* JSON integer value in intmax_t form */ + -131073, /* JSON integer value in intmax_t form */ false, /* true ==> converted JSON integer to C uintmax_t */ 0, /* no JSON integer value in uintmax_t form */ /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -131073, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -131073, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -131073L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[72]: -131072.1 */ + /* test_result[70]: -131073.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-131072.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-131072.1", /* first whitespace character */ + "-131073.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-131073.1", /* first whitespace character */ 9, /* length of as_str */ 9, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -7216,103 +6895,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ - - false, /* true ==> converted JSON integer to C int8_t */ - 0, /* no JSON integer value in int8_t form */ - - false, /* true ==> converted JSON integer to C uint8_t */ - 0, /* no JSON integer value in uint8_t form */ - - false, /* true ==> converted JSON integer to C int16_t */ - 0, /* no JSON integer value in int16_t form */ - - false, /* true ==> converted JSON integer to C uint16_t */ - 0, /* no JSON integer value in uint16_t form */ - - false, /* true ==> converted JSON integer to C int32_t */ - 0, /* no JSON integer value in int32_t form */ - - false, /* true ==> converted JSON integer to C uint32_t */ - 0, /* no JSON integer value in uint32_t form */ - - false, /* true ==> converted JSON integer to C int64_t */ - 0, /* no JSON integer value in int64_t form */ - - false, /* true ==> converted JSON integer to C uint64_t */ - 0, /* no JSON integer value in uint64_t form */ - - false, /* true ==> converted JSON integer to C int */ - 0, /* no JSON integer value in int form */ - - false, /* true ==> converted JSON integer to C unsigned int */ - 0, /* no JSON integer value in unsigned int form */ - - false, /* true ==> converted JSON integer to C long */ - 0, /* no JSON integer value in long form */ - - false, /* true ==> converted JSON integer to C unsigned long */ - 0, /* no JSON integer value in unsigned long form */ - - false, /* true ==> converted JSON integer to C long long */ - 0, /* no JSON integer value in long long form */ - - false, /* true ==> converted JSON integer to C unsigned long long */ - 0, /* no JSON integer value in unsigned long long form */ - - false, /* true ==> converted JSON integer to C ssize_t */ - 0, /* no JSON integer value in ssize_t form */ - - false, /* true ==> converted JSON integer to C size_t */ - 0, /* no JSON integer value in size_t form */ - - false, /* true ==> converted JSON integer to C off_t */ - 0, /* no JSON integer value in off_t form */ - - false, /* true ==> converted JSON integer to C intmax_t */ - 0, /* no JSON integer value in intmax_t form */ - - false, /* true ==> converted JSON integer to C uintmax_t */ - 0, /* no JSON integer value in uintmax_t form */ - - /* floating point values */ - - true, /* true ==> converted JSON floating point to C float */ - -131072.09375, /* JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ - - true, /* true ==> converted JSON floating point to C double */ - -131072.1000000000058208, /* JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ - - true, /* true ==> converted JSON floating point to C long double */ - -131072.1000000000058208L, /* JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ - }, - - /* test_result[73]: -131072.2e2 */ - { - true, /* true ==> able to convert JSON number string to some form of C value */ - - true, /* true ==> able to parse JSON number string */ - - "-131072.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-131072.2e2", /* first whitespace character */ - - 11, /* length of as_str */ - 11, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ - - true, /* true ==> value < 0 */ - - true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ - true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - /* integer values */ - false, /* true ==> integer conversion success, false ==> no integer conversion */ - false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -7374,38 +6959,36 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -13107220, /* JSON floating point value in float form */ - true, /* if float_sized == true, true ==> as_float is an integer */ + -131073.09375, /* JSON floating point value in float form */ + false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -13107220, /* JSON floating point value in double form */ - true, /* if double_sized == true, true ==> as_double is an integer */ + -131073.1000000000058208, /* JSON floating point value in double form */ + false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -13107220L, /* JSON floating point value in long double form */ - true, /* if float_sized == true, true ==> as_float is an integer */ + -131073.1000000000058208L, /* JSON floating point value in long double form */ + false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[74]: -131072.2E-4 */ + /* test_result[71]: -131073.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-131072.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-131072.2E-4", /* first whitespace character */ + "-131073.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-131073.2e2", /* first whitespace character */ - 12, /* length of as_str */ - 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + 11, /* length of as_str */ + 11, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ true, /* true ==> value < 0 */ true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -7467,38 +7050,36 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -13.107219696044921875, /* JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + -13107320, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -13.10721999999999987097, /* JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + -13107320, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -13.10721999999999987097L, /* JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + -13107320L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[75]: -131071.0 */ + /* test_result[72]: -131073.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-131071.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-131071.0", /* first whitespace character */ + "-131073.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-131073.2E-4", /* first whitespace character */ - 9, /* length of as_str */ - 9, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + 12, /* length of as_str */ + 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ true, /* true ==> value < 0 */ true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ - false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ + true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -7560,38 +7141,36 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -131071, /* JSON floating point value in float form */ - true, /* if float_sized == true, true ==> as_float is an integer */ + -13.10731983184814453125, /* JSON floating point value in float form */ + false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -131071, /* JSON floating point value in double form */ - true, /* if double_sized == true, true ==> as_double is an integer */ + -13.10731999999999963791, /* JSON floating point value in double form */ + false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -131071L, /* JSON floating point value in long double form */ - true, /* if float_sized == true, true ==> as_float is an integer */ + -13.10731999999999963791L, /* JSON floating point value in long double form */ + false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[76]: -131071 */ + /* test_result[73]: -131072.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-131071", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-131071", /* first whitespace character */ + "-131072.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-131072.0", /* first whitespace character */ - 7, /* length of as_str */ - 7, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + 9, /* length of as_str */ + 9, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ + false, /* true ==> integer conversion success, false ==> no integer conversion */ /* integer values */ - true, /* true ==> integer conversion success, false ==> no integer conversion */ - false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -7605,86 +7184,84 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> converted JSON integer to C uint16_t */ 0, /* no JSON integer value in uint16_t form */ - true, /* true ==> converted JSON integer to C int32_t */ - -131071, /* JSON integer value in int32_t form */ + false, /* true ==> converted JSON integer to C int32_t */ + 0, /* no JSON integer value in int32_t form */ false, /* true ==> converted JSON integer to C uint32_t */ 0, /* no JSON integer value in uint32_t form */ - true, /* true ==> converted JSON integer to C int64_t */ - -131071, /* JSON integer value in int64_t form */ + false, /* true ==> converted JSON integer to C int64_t */ + 0, /* no JSON integer value in int64_t form */ false, /* true ==> converted JSON integer to C uint64_t */ 0, /* no JSON integer value in uint64_t form */ - true, /* true ==> converted JSON integer to C int */ - -131071, /* JSON integer value in int form */ + false, /* true ==> converted JSON integer to C int */ + 0, /* no JSON integer value in int form */ false, /* true ==> converted JSON integer to C unsigned int */ 0, /* no JSON integer value in unsigned int form */ - true, /* true ==> converted JSON integer to C long */ - -131071, /* JSON integer value in long form */ + false, /* true ==> converted JSON integer to C long */ + 0, /* no JSON integer value in long form */ false, /* true ==> converted JSON integer to C unsigned long */ 0, /* no JSON integer value in unsigned long form */ - true, /* true ==> converted JSON integer to C long long */ - -131071, /* JSON integer value in long long form */ + false, /* true ==> converted JSON integer to C long long */ + 0, /* no JSON integer value in long long form */ false, /* true ==> converted JSON integer to C unsigned long long */ 0, /* no JSON integer value in unsigned long long form */ - true, /* true ==> converted JSON integer to C ssize_t */ - -131071, /* JSON integer value in ssize_t form */ + false, /* true ==> converted JSON integer to C ssize_t */ + 0, /* no JSON integer value in ssize_t form */ false, /* true ==> converted JSON integer to C size_t */ 0, /* no JSON integer value in size_t form */ - true, /* true ==> converted JSON integer to C off_t */ - -131071, /* JSON integer value in off_t form */ + false, /* true ==> converted JSON integer to C off_t */ + 0, /* no JSON integer value in off_t form */ - true, /* true ==> converted JSON integer to C intmax_t */ - -131071, /* JSON integer value in intmax_t form */ + false, /* true ==> converted JSON integer to C intmax_t */ + 0, /* no JSON integer value in intmax_t form */ false, /* true ==> converted JSON integer to C uintmax_t */ 0, /* no JSON integer value in uintmax_t form */ /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -131072, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -131072, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -131072L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[77]: -131071.1 */ + /* test_result[74]: -131072 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-131071.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-131071.1", /* first whitespace character */ + "-131072", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-131072", /* first whitespace character */ - 9, /* length of as_str */ - 9, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + 7, /* length of as_str */ + 7, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ true, /* true ==> value < 0 */ true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ + true, /* true ==> integer conversion success, false ==> no integer conversion */ /* integer values */ - false, /* true ==> integer conversion success, false ==> no integer conversion */ - false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -7698,47 +7275,47 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> converted JSON integer to C uint16_t */ 0, /* no JSON integer value in uint16_t form */ - false, /* true ==> converted JSON integer to C int32_t */ - 0, /* no JSON integer value in int32_t form */ + true, /* true ==> converted JSON integer to C int32_t */ + -131072, /* JSON integer value in int32_t form */ false, /* true ==> converted JSON integer to C uint32_t */ 0, /* no JSON integer value in uint32_t form */ - false, /* true ==> converted JSON integer to C int64_t */ - 0, /* no JSON integer value in int64_t form */ + true, /* true ==> converted JSON integer to C int64_t */ + -131072, /* JSON integer value in int64_t form */ false, /* true ==> converted JSON integer to C uint64_t */ 0, /* no JSON integer value in uint64_t form */ - false, /* true ==> converted JSON integer to C int */ - 0, /* no JSON integer value in int form */ + true, /* true ==> converted JSON integer to C int */ + -131072, /* JSON integer value in int form */ false, /* true ==> converted JSON integer to C unsigned int */ 0, /* no JSON integer value in unsigned int form */ - false, /* true ==> converted JSON integer to C long */ - 0, /* no JSON integer value in long form */ + true, /* true ==> converted JSON integer to C long */ + -131072, /* JSON integer value in long form */ false, /* true ==> converted JSON integer to C unsigned long */ 0, /* no JSON integer value in unsigned long form */ - false, /* true ==> converted JSON integer to C long long */ - 0, /* no JSON integer value in long long form */ + true, /* true ==> converted JSON integer to C long long */ + -131072, /* JSON integer value in long long form */ false, /* true ==> converted JSON integer to C unsigned long long */ 0, /* no JSON integer value in unsigned long long form */ - false, /* true ==> converted JSON integer to C ssize_t */ - 0, /* no JSON integer value in ssize_t form */ + true, /* true ==> converted JSON integer to C ssize_t */ + -131072, /* JSON integer value in ssize_t form */ false, /* true ==> converted JSON integer to C size_t */ 0, /* no JSON integer value in size_t form */ - false, /* true ==> converted JSON integer to C off_t */ - 0, /* no JSON integer value in off_t form */ + true, /* true ==> converted JSON integer to C off_t */ + -131072, /* JSON integer value in off_t form */ - false, /* true ==> converted JSON integer to C intmax_t */ - 0, /* no JSON integer value in intmax_t form */ + true, /* true ==> converted JSON integer to C intmax_t */ + -131072, /* JSON integer value in intmax_t form */ false, /* true ==> converted JSON integer to C uintmax_t */ 0, /* no JSON integer value in uintmax_t form */ @@ -7746,38 +7323,36 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -131071.1015625, /* JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + -131072, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -131071.1000000000058208, /* JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + -131072, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -131071.1000000000058208L, /* JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + -131072L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[78]: -131071.2e2 */ + /* test_result[75]: -131072.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-131071.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-131071.2e2", /* first whitespace character */ + "-131072.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-131072.1", /* first whitespace character */ - 11, /* length of as_str */ - 11, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + 9, /* length of as_str */ + 9, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ true, /* true ==> value < 0 */ true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ - true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ + false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -7839,38 +7414,36 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -13107120, /* JSON floating point value in float form */ - true, /* if float_sized == true, true ==> as_float is an integer */ + -131072.09375, /* JSON floating point value in float form */ + false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -13107120, /* JSON floating point value in double form */ - true, /* if double_sized == true, true ==> as_double is an integer */ + -131072.1000000000058208, /* JSON floating point value in double form */ + false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -13107120L, /* JSON floating point value in long double form */ - true, /* if float_sized == true, true ==> as_float is an integer */ + -131072.1000000000058208L, /* JSON floating point value in long double form */ + false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[79]: -131071.2E-4 */ + /* test_result[76]: -131072.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-131071.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-131071.2E-4", /* first whitespace character */ + "-131072.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-131072.2e2", /* first whitespace character */ - 12, /* length of as_str */ - 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + 11, /* length of as_str */ + 11, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ true, /* true ==> value < 0 */ true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -7932,38 +7505,36 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -13.10711956024169921875, /* JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + -13107220, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -13.10712000000000010402, /* JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + -13107220, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -13.10712000000000010402L, /* JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + -13107220L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[80]: -131070.0 */ + /* test_result[77]: -131072.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-131070.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-131070.0", /* first whitespace character */ + "-131072.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-131072.2E-4", /* first whitespace character */ - 9, /* length of as_str */ - 9, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + 12, /* length of as_str */ + 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ true, /* true ==> value < 0 */ true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ - false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ + true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -8025,38 +7596,127 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -131070, /* JSON floating point value in float form */ + -13.107219696044921875, /* JSON floating point value in float form */ + false, /* if float_sized == true, true ==> as_float is an integer */ + + true, /* true ==> converted JSON floating point to C double */ + -13.10721999999999987097, /* JSON floating point value in double form */ + false, /* if double_sized == true, true ==> as_double is an integer */ + + true, /* true ==> converted JSON floating point to C long double */ + -13.10721999999999987097L, /* JSON floating point value in long double form */ + false, /* if float_sized == true, true ==> as_float is an integer */ + }, + + /* test_result[78]: -131071.0 */ + { + true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ + + "-131071.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-131071.0", /* first whitespace character */ + + 9, /* length of as_str */ + 9, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + + true, /* true ==> value < 0 */ + + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ + false, /* true ==> integer conversion success, false ==> no integer conversion */ + + /* integer values */ + + false, /* true ==> converted JSON integer to C int8_t */ + 0, /* no JSON integer value in int8_t form */ + + false, /* true ==> converted JSON integer to C uint8_t */ + 0, /* no JSON integer value in uint8_t form */ + + false, /* true ==> converted JSON integer to C int16_t */ + 0, /* no JSON integer value in int16_t form */ + + false, /* true ==> converted JSON integer to C uint16_t */ + 0, /* no JSON integer value in uint16_t form */ + + false, /* true ==> converted JSON integer to C int32_t */ + 0, /* no JSON integer value in int32_t form */ + + false, /* true ==> converted JSON integer to C uint32_t */ + 0, /* no JSON integer value in uint32_t form */ + + false, /* true ==> converted JSON integer to C int64_t */ + 0, /* no JSON integer value in int64_t form */ + + false, /* true ==> converted JSON integer to C uint64_t */ + 0, /* no JSON integer value in uint64_t form */ + + false, /* true ==> converted JSON integer to C int */ + 0, /* no JSON integer value in int form */ + + false, /* true ==> converted JSON integer to C unsigned int */ + 0, /* no JSON integer value in unsigned int form */ + + false, /* true ==> converted JSON integer to C long */ + 0, /* no JSON integer value in long form */ + + false, /* true ==> converted JSON integer to C unsigned long */ + 0, /* no JSON integer value in unsigned long form */ + + false, /* true ==> converted JSON integer to C long long */ + 0, /* no JSON integer value in long long form */ + + false, /* true ==> converted JSON integer to C unsigned long long */ + 0, /* no JSON integer value in unsigned long long form */ + + false, /* true ==> converted JSON integer to C ssize_t */ + 0, /* no JSON integer value in ssize_t form */ + + false, /* true ==> converted JSON integer to C size_t */ + 0, /* no JSON integer value in size_t form */ + + false, /* true ==> converted JSON integer to C off_t */ + 0, /* no JSON integer value in off_t form */ + + false, /* true ==> converted JSON integer to C intmax_t */ + 0, /* no JSON integer value in intmax_t form */ + + false, /* true ==> converted JSON integer to C uintmax_t */ + 0, /* no JSON integer value in uintmax_t form */ + + /* floating point values */ + + true, /* true ==> converted JSON floating point to C float */ + -131071, /* JSON floating point value in float form */ true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -131070, /* JSON floating point value in double form */ + -131071, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -131070L, /* JSON floating point value in long double form */ + -131071L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[81]: -131070 */ + /* test_result[79]: -131071 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-131070", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-131070", /* first whitespace character */ + "-131071", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-131071", /* first whitespace character */ 7, /* length of as_str */ 7, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -8071,73 +7731,72 @@ struct json_number test_result[TEST_COUNT+1] = { 0, /* no JSON integer value in uint16_t form */ true, /* true ==> converted JSON integer to C int32_t */ - -131070, /* JSON integer value in int32_t form */ + -131071, /* JSON integer value in int32_t form */ false, /* true ==> converted JSON integer to C uint32_t */ 0, /* no JSON integer value in uint32_t form */ true, /* true ==> converted JSON integer to C int64_t */ - -131070, /* JSON integer value in int64_t form */ + -131071, /* JSON integer value in int64_t form */ false, /* true ==> converted JSON integer to C uint64_t */ 0, /* no JSON integer value in uint64_t form */ true, /* true ==> converted JSON integer to C int */ - -131070, /* JSON integer value in int form */ + -131071, /* JSON integer value in int form */ false, /* true ==> converted JSON integer to C unsigned int */ 0, /* no JSON integer value in unsigned int form */ true, /* true ==> converted JSON integer to C long */ - -131070, /* JSON integer value in long form */ + -131071, /* JSON integer value in long form */ false, /* true ==> converted JSON integer to C unsigned long */ 0, /* no JSON integer value in unsigned long form */ true, /* true ==> converted JSON integer to C long long */ - -131070, /* JSON integer value in long long form */ + -131071, /* JSON integer value in long long form */ false, /* true ==> converted JSON integer to C unsigned long long */ 0, /* no JSON integer value in unsigned long long form */ true, /* true ==> converted JSON integer to C ssize_t */ - -131070, /* JSON integer value in ssize_t form */ + -131071, /* JSON integer value in ssize_t form */ false, /* true ==> converted JSON integer to C size_t */ 0, /* no JSON integer value in size_t form */ true, /* true ==> converted JSON integer to C off_t */ - -131070, /* JSON integer value in off_t form */ + -131071, /* JSON integer value in off_t form */ true, /* true ==> converted JSON integer to C intmax_t */ - -131070, /* JSON integer value in intmax_t form */ + -131071, /* JSON integer value in intmax_t form */ false, /* true ==> converted JSON integer to C uintmax_t */ 0, /* no JSON integer value in uintmax_t form */ /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -131071, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -131071, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -131071L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[82]: -131070.1 */ + /* test_result[80]: -131071.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-131070.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-131070.1", /* first whitespace character */ + "-131071.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-131071.1", /* first whitespace character */ 9, /* length of as_str */ 9, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -8146,10 +7805,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -8211,26 +7869,25 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -131070.1015625, /* JSON floating point value in float form */ + -131071.1015625, /* JSON floating point value in float form */ false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -131070.1000000000058208, /* JSON floating point value in double form */ + -131071.1000000000058208, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -131070.1000000000058208L, /* JSON floating point value in long double form */ + -131071.1000000000058208L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[83]: -131070.2e2 */ + /* test_result[81]: -131071.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-131070.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-131070.2e2", /* first whitespace character */ + "-131071.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-131071.2e2", /* first whitespace character */ 11, /* length of as_str */ 11, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -8239,10 +7896,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -8304,26 +7960,25 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -13107020, /* JSON floating point value in float form */ + -13107120, /* JSON floating point value in float form */ true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -13107020, /* JSON floating point value in double form */ + -13107120, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -13107020L, /* JSON floating point value in long double form */ + -13107120L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[84]: -131070.2E-4 */ + /* test_result[82]: -131071.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-131070.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-131070.2E-4", /* first whitespace character */ + "-131071.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-131071.2E-4", /* first whitespace character */ 12, /* length of as_str */ 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -8332,10 +7987,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -8397,38 +8051,36 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -13.10702037811279296875, /* JSON floating point value in float form */ + -13.10711956024169921875, /* JSON floating point value in float form */ false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -13.10702000000000033708, /* JSON floating point value in double form */ + -13.10712000000000010402, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -13.10702000000000033708L, /* JSON floating point value in long double form */ + -13.10712000000000010402L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[85]: -65538.0 */ + /* test_result[83]: -131070.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-65538.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-65538.0", /* first whitespace character */ + "-131070.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-131070.0", /* first whitespace character */ - 8, /* length of as_str */ - 8, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + 9, /* length of as_str */ + 9, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ true, /* true ==> value < 0 */ true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -8490,38 +8142,36 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - -65538, /* JSON floating point value in float form */ + -131070, /* JSON floating point value in float form */ true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - -65538, /* JSON floating point value in double form */ + -131070, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - -65538L, /* JSON floating point value in long double form */ + -131070L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[86]: -65538 */ + /* test_result[84]: -131070 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-65538", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-65538", /* first whitespace character */ + "-131070", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-131070", /* first whitespace character */ - 6, /* length of as_str */ - 6, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + 7, /* length of as_str */ + 7, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -8536,85 +8186,538 @@ struct json_number test_result[TEST_COUNT+1] = { 0, /* no JSON integer value in uint16_t form */ true, /* true ==> converted JSON integer to C int32_t */ - -65538, /* JSON integer value in int32_t form */ + -131070, /* JSON integer value in int32_t form */ false, /* true ==> converted JSON integer to C uint32_t */ 0, /* no JSON integer value in uint32_t form */ true, /* true ==> converted JSON integer to C int64_t */ - -65538, /* JSON integer value in int64_t form */ + -131070, /* JSON integer value in int64_t form */ false, /* true ==> converted JSON integer to C uint64_t */ 0, /* no JSON integer value in uint64_t form */ true, /* true ==> converted JSON integer to C int */ - -65538, /* JSON integer value in int form */ + -131070, /* JSON integer value in int form */ false, /* true ==> converted JSON integer to C unsigned int */ 0, /* no JSON integer value in unsigned int form */ true, /* true ==> converted JSON integer to C long */ - -65538, /* JSON integer value in long form */ + -131070, /* JSON integer value in long form */ false, /* true ==> converted JSON integer to C unsigned long */ 0, /* no JSON integer value in unsigned long form */ true, /* true ==> converted JSON integer to C long long */ - -65538, /* JSON integer value in long long form */ + -131070, /* JSON integer value in long long form */ false, /* true ==> converted JSON integer to C unsigned long long */ 0, /* no JSON integer value in unsigned long long form */ true, /* true ==> converted JSON integer to C ssize_t */ - -65538, /* JSON integer value in ssize_t form */ + -131070, /* JSON integer value in ssize_t form */ false, /* true ==> converted JSON integer to C size_t */ 0, /* no JSON integer value in size_t form */ true, /* true ==> converted JSON integer to C off_t */ - -65538, /* JSON integer value in off_t form */ + -131070, /* JSON integer value in off_t form */ true, /* true ==> converted JSON integer to C intmax_t */ - -65538, /* JSON integer value in intmax_t form */ + -131070, /* JSON integer value in intmax_t form */ false, /* true ==> converted JSON integer to C uintmax_t */ 0, /* no JSON integer value in uintmax_t form */ /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -131070, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -131070, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -131070L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[87]: -65538.1 */ + /* test_result[85]: -131070.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "-65538.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "-65538.1", /* first whitespace character */ + "-131070.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-131070.1", /* first whitespace character */ - 8, /* length of as_str */ - 8, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + 9, /* length of as_str */ + 9, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ true, /* true ==> value < 0 */ true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ + + false, /* true ==> converted JSON integer to C int8_t */ + 0, /* no JSON integer value in int8_t form */ + + false, /* true ==> converted JSON integer to C uint8_t */ + 0, /* no JSON integer value in uint8_t form */ + + false, /* true ==> converted JSON integer to C int16_t */ + 0, /* no JSON integer value in int16_t form */ + + false, /* true ==> converted JSON integer to C uint16_t */ + 0, /* no JSON integer value in uint16_t form */ + + false, /* true ==> converted JSON integer to C int32_t */ + 0, /* no JSON integer value in int32_t form */ + + false, /* true ==> converted JSON integer to C uint32_t */ + 0, /* no JSON integer value in uint32_t form */ + + false, /* true ==> converted JSON integer to C int64_t */ + 0, /* no JSON integer value in int64_t form */ + + false, /* true ==> converted JSON integer to C uint64_t */ + 0, /* no JSON integer value in uint64_t form */ + + false, /* true ==> converted JSON integer to C int */ + 0, /* no JSON integer value in int form */ + + false, /* true ==> converted JSON integer to C unsigned int */ + 0, /* no JSON integer value in unsigned int form */ + + false, /* true ==> converted JSON integer to C long */ + 0, /* no JSON integer value in long form */ + + false, /* true ==> converted JSON integer to C unsigned long */ + 0, /* no JSON integer value in unsigned long form */ + + false, /* true ==> converted JSON integer to C long long */ + 0, /* no JSON integer value in long long form */ + + false, /* true ==> converted JSON integer to C unsigned long long */ + 0, /* no JSON integer value in unsigned long long form */ + + false, /* true ==> converted JSON integer to C ssize_t */ + 0, /* no JSON integer value in ssize_t form */ + + false, /* true ==> converted JSON integer to C size_t */ + 0, /* no JSON integer value in size_t form */ + + false, /* true ==> converted JSON integer to C off_t */ + 0, /* no JSON integer value in off_t form */ + + false, /* true ==> converted JSON integer to C intmax_t */ + 0, /* no JSON integer value in intmax_t form */ + + false, /* true ==> converted JSON integer to C uintmax_t */ + 0, /* no JSON integer value in uintmax_t form */ + + /* floating point values */ + + true, /* true ==> converted JSON floating point to C float */ + -131070.1015625, /* JSON floating point value in float form */ + false, /* if float_sized == true, true ==> as_float is an integer */ + + true, /* true ==> converted JSON floating point to C double */ + -131070.1000000000058208, /* JSON floating point value in double form */ + false, /* if double_sized == true, true ==> as_double is an integer */ + + true, /* true ==> converted JSON floating point to C long double */ + -131070.1000000000058208L, /* JSON floating point value in long double form */ + false, /* if float_sized == true, true ==> as_float is an integer */ + }, + + /* test_result[86]: -131070.2e2 */ + { + true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ + + "-131070.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-131070.2e2", /* first whitespace character */ + + 11, /* length of as_str */ + 11, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + + true, /* true ==> value < 0 */ + + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ + false, /* true ==> integer conversion success, false ==> no integer conversion */ + + /* integer values */ + + false, /* true ==> converted JSON integer to C int8_t */ + 0, /* no JSON integer value in int8_t form */ + + false, /* true ==> converted JSON integer to C uint8_t */ + 0, /* no JSON integer value in uint8_t form */ + + false, /* true ==> converted JSON integer to C int16_t */ + 0, /* no JSON integer value in int16_t form */ + + false, /* true ==> converted JSON integer to C uint16_t */ + 0, /* no JSON integer value in uint16_t form */ + + false, /* true ==> converted JSON integer to C int32_t */ + 0, /* no JSON integer value in int32_t form */ + + false, /* true ==> converted JSON integer to C uint32_t */ + 0, /* no JSON integer value in uint32_t form */ + + false, /* true ==> converted JSON integer to C int64_t */ + 0, /* no JSON integer value in int64_t form */ + + false, /* true ==> converted JSON integer to C uint64_t */ + 0, /* no JSON integer value in uint64_t form */ + + false, /* true ==> converted JSON integer to C int */ + 0, /* no JSON integer value in int form */ + + false, /* true ==> converted JSON integer to C unsigned int */ + 0, /* no JSON integer value in unsigned int form */ + + false, /* true ==> converted JSON integer to C long */ + 0, /* no JSON integer value in long form */ + + false, /* true ==> converted JSON integer to C unsigned long */ + 0, /* no JSON integer value in unsigned long form */ + + false, /* true ==> converted JSON integer to C long long */ + 0, /* no JSON integer value in long long form */ + + false, /* true ==> converted JSON integer to C unsigned long long */ + 0, /* no JSON integer value in unsigned long long form */ + + false, /* true ==> converted JSON integer to C ssize_t */ + 0, /* no JSON integer value in ssize_t form */ + + false, /* true ==> converted JSON integer to C size_t */ + 0, /* no JSON integer value in size_t form */ + + false, /* true ==> converted JSON integer to C off_t */ + 0, /* no JSON integer value in off_t form */ + + false, /* true ==> converted JSON integer to C intmax_t */ + 0, /* no JSON integer value in intmax_t form */ + + false, /* true ==> converted JSON integer to C uintmax_t */ + 0, /* no JSON integer value in uintmax_t form */ + + /* floating point values */ + + true, /* true ==> converted JSON floating point to C float */ + -13107020, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ + + true, /* true ==> converted JSON floating point to C double */ + -13107020, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ + + true, /* true ==> converted JSON floating point to C long double */ + -13107020L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ + }, + + /* test_result[87]: -131070.2E-4 */ + { + true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ + + "-131070.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-131070.2E-4", /* first whitespace character */ + + 12, /* length of as_str */ + 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + + true, /* true ==> value < 0 */ + + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ + false, /* true ==> integer conversion success, false ==> no integer conversion */ + + /* integer values */ + + false, /* true ==> converted JSON integer to C int8_t */ + 0, /* no JSON integer value in int8_t form */ + + false, /* true ==> converted JSON integer to C uint8_t */ + 0, /* no JSON integer value in uint8_t form */ + + false, /* true ==> converted JSON integer to C int16_t */ + 0, /* no JSON integer value in int16_t form */ + + false, /* true ==> converted JSON integer to C uint16_t */ + 0, /* no JSON integer value in uint16_t form */ + + false, /* true ==> converted JSON integer to C int32_t */ + 0, /* no JSON integer value in int32_t form */ + + false, /* true ==> converted JSON integer to C uint32_t */ + 0, /* no JSON integer value in uint32_t form */ + + false, /* true ==> converted JSON integer to C int64_t */ + 0, /* no JSON integer value in int64_t form */ + + false, /* true ==> converted JSON integer to C uint64_t */ + 0, /* no JSON integer value in uint64_t form */ + + false, /* true ==> converted JSON integer to C int */ + 0, /* no JSON integer value in int form */ + + false, /* true ==> converted JSON integer to C unsigned int */ + 0, /* no JSON integer value in unsigned int form */ + + false, /* true ==> converted JSON integer to C long */ + 0, /* no JSON integer value in long form */ + + false, /* true ==> converted JSON integer to C unsigned long */ + 0, /* no JSON integer value in unsigned long form */ + + false, /* true ==> converted JSON integer to C long long */ + 0, /* no JSON integer value in long long form */ + + false, /* true ==> converted JSON integer to C unsigned long long */ + 0, /* no JSON integer value in unsigned long long form */ + + false, /* true ==> converted JSON integer to C ssize_t */ + 0, /* no JSON integer value in ssize_t form */ + + false, /* true ==> converted JSON integer to C size_t */ + 0, /* no JSON integer value in size_t form */ + + false, /* true ==> converted JSON integer to C off_t */ + 0, /* no JSON integer value in off_t form */ + + false, /* true ==> converted JSON integer to C intmax_t */ + 0, /* no JSON integer value in intmax_t form */ + + false, /* true ==> converted JSON integer to C uintmax_t */ + 0, /* no JSON integer value in uintmax_t form */ + + /* floating point values */ + + true, /* true ==> converted JSON floating point to C float */ + -13.10702037811279296875, /* JSON floating point value in float form */ + false, /* if float_sized == true, true ==> as_float is an integer */ + + true, /* true ==> converted JSON floating point to C double */ + -13.10702000000000033708, /* JSON floating point value in double form */ + false, /* if double_sized == true, true ==> as_double is an integer */ + + true, /* true ==> converted JSON floating point to C long double */ + -13.10702000000000033708L, /* JSON floating point value in long double form */ + false, /* if float_sized == true, true ==> as_float is an integer */ + }, + + /* test_result[88]: -65538.0 */ + { + true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ + + "-65538.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-65538.0", /* first whitespace character */ + + 8, /* length of as_str */ + 8, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + + true, /* true ==> value < 0 */ + + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ + false, /* true ==> integer conversion success, false ==> no integer conversion */ + + /* integer values */ + + false, /* true ==> converted JSON integer to C int8_t */ + 0, /* no JSON integer value in int8_t form */ + + false, /* true ==> converted JSON integer to C uint8_t */ + 0, /* no JSON integer value in uint8_t form */ + + false, /* true ==> converted JSON integer to C int16_t */ + 0, /* no JSON integer value in int16_t form */ + + false, /* true ==> converted JSON integer to C uint16_t */ + 0, /* no JSON integer value in uint16_t form */ + + false, /* true ==> converted JSON integer to C int32_t */ + 0, /* no JSON integer value in int32_t form */ + + false, /* true ==> converted JSON integer to C uint32_t */ + 0, /* no JSON integer value in uint32_t form */ + + false, /* true ==> converted JSON integer to C int64_t */ + 0, /* no JSON integer value in int64_t form */ + + false, /* true ==> converted JSON integer to C uint64_t */ + 0, /* no JSON integer value in uint64_t form */ + + false, /* true ==> converted JSON integer to C int */ + 0, /* no JSON integer value in int form */ + + false, /* true ==> converted JSON integer to C unsigned int */ + 0, /* no JSON integer value in unsigned int form */ + + false, /* true ==> converted JSON integer to C long */ + 0, /* no JSON integer value in long form */ + + false, /* true ==> converted JSON integer to C unsigned long */ + 0, /* no JSON integer value in unsigned long form */ + + false, /* true ==> converted JSON integer to C long long */ + 0, /* no JSON integer value in long long form */ + + false, /* true ==> converted JSON integer to C unsigned long long */ + 0, /* no JSON integer value in unsigned long long form */ + + false, /* true ==> converted JSON integer to C ssize_t */ + 0, /* no JSON integer value in ssize_t form */ + + false, /* true ==> converted JSON integer to C size_t */ + 0, /* no JSON integer value in size_t form */ + + false, /* true ==> converted JSON integer to C off_t */ + 0, /* no JSON integer value in off_t form */ + + false, /* true ==> converted JSON integer to C intmax_t */ + 0, /* no JSON integer value in intmax_t form */ + + false, /* true ==> converted JSON integer to C uintmax_t */ + 0, /* no JSON integer value in uintmax_t form */ + + /* floating point values */ + + true, /* true ==> converted JSON floating point to C float */ + -65538, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ + + true, /* true ==> converted JSON floating point to C double */ + -65538, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ + + true, /* true ==> converted JSON floating point to C long double */ + -65538L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ + }, + + /* test_result[89]: -65538 */ + { + true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ + + "-65538", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-65538", /* first whitespace character */ + + 6, /* length of as_str */ + 6, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + + true, /* true ==> value < 0 */ + + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ + true, /* true ==> integer conversion success, false ==> no integer conversion */ + + /* integer values */ + + false, /* true ==> converted JSON integer to C int8_t */ + 0, /* no JSON integer value in int8_t form */ + + false, /* true ==> converted JSON integer to C uint8_t */ + 0, /* no JSON integer value in uint8_t form */ + + false, /* true ==> converted JSON integer to C int16_t */ + 0, /* no JSON integer value in int16_t form */ + + false, /* true ==> converted JSON integer to C uint16_t */ + 0, /* no JSON integer value in uint16_t form */ + + true, /* true ==> converted JSON integer to C int32_t */ + -65538, /* JSON integer value in int32_t form */ + + false, /* true ==> converted JSON integer to C uint32_t */ + 0, /* no JSON integer value in uint32_t form */ + + true, /* true ==> converted JSON integer to C int64_t */ + -65538, /* JSON integer value in int64_t form */ + + false, /* true ==> converted JSON integer to C uint64_t */ + 0, /* no JSON integer value in uint64_t form */ + + true, /* true ==> converted JSON integer to C int */ + -65538, /* JSON integer value in int form */ + + false, /* true ==> converted JSON integer to C unsigned int */ + 0, /* no JSON integer value in unsigned int form */ + + true, /* true ==> converted JSON integer to C long */ + -65538, /* JSON integer value in long form */ + + false, /* true ==> converted JSON integer to C unsigned long */ + 0, /* no JSON integer value in unsigned long form */ + + true, /* true ==> converted JSON integer to C long long */ + -65538, /* JSON integer value in long long form */ + + false, /* true ==> converted JSON integer to C unsigned long long */ + 0, /* no JSON integer value in unsigned long long form */ + + true, /* true ==> converted JSON integer to C ssize_t */ + -65538, /* JSON integer value in ssize_t form */ + + false, /* true ==> converted JSON integer to C size_t */ + 0, /* no JSON integer value in size_t form */ + + true, /* true ==> converted JSON integer to C off_t */ + -65538, /* JSON integer value in off_t form */ + + true, /* true ==> converted JSON integer to C intmax_t */ + -65538, /* JSON integer value in intmax_t form */ + + false, /* true ==> converted JSON integer to C uintmax_t */ + 0, /* no JSON integer value in uintmax_t form */ + + /* floating point values */ + + true, /* true ==> converted JSON floating point to C float */ + -65538, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ + + true, /* true ==> converted JSON floating point to C double */ + -65538, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ + + true, /* true ==> converted JSON floating point to C long double */ + -65538L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ + }, + + /* test_result[90]: -65538.1 */ + { + true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ + + "-65538.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "-65538.1", /* first whitespace character */ + + 8, /* length of as_str */ + 8, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + + true, /* true ==> value < 0 */ + + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ + false, /* true ==> integer conversion success, false ==> no integer conversion */ + + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -8688,11 +8791,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[88]: -65538.2e2 */ + /* test_result[91]: -65538.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-65538.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-65538.2e2", /* first whitespace character */ @@ -8704,10 +8806,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -8781,11 +8882,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[89]: -65538.2E-4 */ + /* test_result[92]: -65538.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-65538.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-65538.2E-4", /* first whitespace character */ @@ -8797,10 +8897,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -8874,11 +8973,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[90]: -65537.0 */ + /* test_result[93]: -65537.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-65537.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-65537.0", /* first whitespace character */ @@ -8890,10 +8988,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -8967,11 +9064,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[91]: -65537 */ + /* test_result[94]: -65537 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-65537", /* allocated copy of the original allocated JSON number, NUL terminated */ "-65537", /* first whitespace character */ @@ -8981,12 +9077,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -9047,24 +9142,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -65537, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -65537, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -65537L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[92]: -65537.1 */ + /* test_result[95]: -65537.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-65537.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-65537.1", /* first whitespace character */ @@ -9076,10 +9170,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -9153,11 +9246,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[93]: -65537.2e2 */ + /* test_result[96]: -65537.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-65537.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-65537.2e2", /* first whitespace character */ @@ -9169,10 +9261,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -9246,11 +9337,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[94]: -65537.2E-4 */ + /* test_result[97]: -65537.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-65537.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-65537.2E-4", /* first whitespace character */ @@ -9262,10 +9352,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -9339,11 +9428,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[95]: -65536.0 */ + /* test_result[98]: -65536.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-65536.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-65536.0", /* first whitespace character */ @@ -9355,10 +9443,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -9432,11 +9519,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[96]: -65536 */ + /* test_result[99]: -65536 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-65536", /* allocated copy of the original allocated JSON number, NUL terminated */ "-65536", /* first whitespace character */ @@ -9446,12 +9532,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -9512,24 +9597,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -65536, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -65536, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -65536L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[97]: -65536.1 */ + /* test_result[100]: -65536.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-65536.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-65536.1", /* first whitespace character */ @@ -9541,10 +9625,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -9618,11 +9701,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[98]: -65536.2e2 */ + /* test_result[101]: -65536.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-65536.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-65536.2e2", /* first whitespace character */ @@ -9634,10 +9716,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -9711,11 +9792,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[99]: -65536.2E-4 */ + /* test_result[102]: -65536.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-65536.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-65536.2E-4", /* first whitespace character */ @@ -9727,10 +9807,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -9804,11 +9883,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[100]: -65535.0 */ + /* test_result[103]: -65535.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-65535.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-65535.0", /* first whitespace character */ @@ -9820,10 +9898,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -9897,11 +9974,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[101]: -65535 */ + /* test_result[104]: -65535 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-65535", /* allocated copy of the original allocated JSON number, NUL terminated */ "-65535", /* first whitespace character */ @@ -9911,12 +9987,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -9977,24 +10052,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -65535, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -65535, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -65535L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[102]: -65535.1 */ + /* test_result[105]: -65535.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-65535.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-65535.1", /* first whitespace character */ @@ -10006,10 +10080,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -10083,11 +10156,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[103]: -65535.2e2 */ + /* test_result[106]: -65535.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-65535.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-65535.2e2", /* first whitespace character */ @@ -10099,10 +10171,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -10176,11 +10247,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[104]: -65535.2E-4 */ + /* test_result[107]: -65535.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-65535.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-65535.2E-4", /* first whitespace character */ @@ -10192,10 +10262,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -10269,11 +10338,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[105]: -65534.0 */ + /* test_result[108]: -65534.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-65534.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-65534.0", /* first whitespace character */ @@ -10285,10 +10353,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -10362,11 +10429,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[106]: -65534 */ + /* test_result[109]: -65534 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-65534", /* allocated copy of the original allocated JSON number, NUL terminated */ "-65534", /* first whitespace character */ @@ -10376,12 +10442,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -10442,24 +10507,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -65534, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -65534, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -65534L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[107]: -65534.1 */ + /* test_result[110]: -65534.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-65534.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-65534.1", /* first whitespace character */ @@ -10471,10 +10535,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -10548,11 +10611,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[108]: -65534.2e2 */ + /* test_result[111]: -65534.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-65534.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-65534.2e2", /* first whitespace character */ @@ -10564,10 +10626,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -10641,11 +10702,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[109]: -65534.2E-4 */ + /* test_result[112]: -65534.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-65534.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-65534.2E-4", /* first whitespace character */ @@ -10657,10 +10717,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -10734,11 +10793,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[110]: -32770.0 */ + /* test_result[113]: -32770.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-32770.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-32770.0", /* first whitespace character */ @@ -10750,10 +10808,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -10827,11 +10884,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[111]: -32770 */ + /* test_result[114]: -32770 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-32770", /* allocated copy of the original allocated JSON number, NUL terminated */ "-32770", /* first whitespace character */ @@ -10841,12 +10897,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -10907,24 +10962,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -32770, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -32770, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -32770L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[112]: -32770.1 */ + /* test_result[115]: -32770.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-32770.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-32770.1", /* first whitespace character */ @@ -10936,10 +10990,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -11013,11 +11066,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[113]: -32770.2e2 */ + /* test_result[116]: -32770.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-32770.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-32770.2e2", /* first whitespace character */ @@ -11029,10 +11081,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -11106,11 +11157,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[114]: -32770.2E-4 */ + /* test_result[117]: -32770.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-32770.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-32770.2E-4", /* first whitespace character */ @@ -11122,10 +11172,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -11199,11 +11248,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[115]: -32769.0 */ + /* test_result[118]: -32769.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-32769.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-32769.0", /* first whitespace character */ @@ -11215,10 +11263,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -11292,11 +11339,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[116]: -32769 */ + /* test_result[119]: -32769 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-32769", /* allocated copy of the original allocated JSON number, NUL terminated */ "-32769", /* first whitespace character */ @@ -11306,12 +11352,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -11372,24 +11417,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -32769, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -32769, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -32769L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[117]: -32769.1 */ + /* test_result[120]: -32769.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-32769.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-32769.1", /* first whitespace character */ @@ -11401,10 +11445,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -11478,11 +11521,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[118]: -32769.2e2 */ + /* test_result[121]: -32769.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-32769.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-32769.2e2", /* first whitespace character */ @@ -11494,10 +11536,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -11571,11 +11612,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[119]: -32769.2E-4 */ + /* test_result[122]: -32769.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-32769.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-32769.2E-4", /* first whitespace character */ @@ -11587,10 +11627,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -11664,11 +11703,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[120]: -32768.0 */ + /* test_result[123]: -32768.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-32768.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-32768.0", /* first whitespace character */ @@ -11680,10 +11718,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -11757,11 +11794,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[121]: -32768 */ + /* test_result[124]: -32768 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-32768", /* allocated copy of the original allocated JSON number, NUL terminated */ "-32768", /* first whitespace character */ @@ -11771,12 +11807,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -11837,24 +11872,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -32768, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -32768, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -32768L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[122]: -32768.1 */ + /* test_result[125]: -32768.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-32768.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-32768.1", /* first whitespace character */ @@ -11866,10 +11900,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -11943,11 +11976,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[123]: -32768.2e2 */ + /* test_result[126]: -32768.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-32768.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-32768.2e2", /* first whitespace character */ @@ -11959,10 +11991,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -12036,11 +12067,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[124]: -32768.2E-4 */ + /* test_result[127]: -32768.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-32768.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-32768.2E-4", /* first whitespace character */ @@ -12052,10 +12082,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -12129,11 +12158,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[125]: -32767.0 */ + /* test_result[128]: -32767.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-32767.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-32767.0", /* first whitespace character */ @@ -12145,10 +12173,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -12222,11 +12249,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[126]: -32767 */ + /* test_result[129]: -32767 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-32767", /* allocated copy of the original allocated JSON number, NUL terminated */ "-32767", /* first whitespace character */ @@ -12236,12 +12262,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -12302,24 +12327,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -32767, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -32767, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -32767L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[127]: -32767.1 */ + /* test_result[130]: -32767.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-32767.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-32767.1", /* first whitespace character */ @@ -12331,10 +12355,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -12408,11 +12431,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[128]: -32767.2e2 */ + /* test_result[131]: -32767.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-32767.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-32767.2e2", /* first whitespace character */ @@ -12424,10 +12446,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -12501,11 +12522,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[129]: -32767.2E-4 */ + /* test_result[132]: -32767.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-32767.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-32767.2E-4", /* first whitespace character */ @@ -12517,10 +12537,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -12594,11 +12613,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[130]: -32766.0 */ + /* test_result[133]: -32766.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-32766.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-32766.0", /* first whitespace character */ @@ -12610,10 +12628,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -12687,11 +12704,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[131]: -32766 */ + /* test_result[134]: -32766 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-32766", /* allocated copy of the original allocated JSON number, NUL terminated */ "-32766", /* first whitespace character */ @@ -12701,12 +12717,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -12767,24 +12782,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -32766, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -32766, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -32766L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[132]: -32766.1 */ + /* test_result[135]: -32766.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-32766.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-32766.1", /* first whitespace character */ @@ -12796,10 +12810,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -12873,11 +12886,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[133]: -32766.2e2 */ + /* test_result[136]: -32766.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-32766.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-32766.2e2", /* first whitespace character */ @@ -12889,10 +12901,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -12966,11 +12977,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[134]: -32766.2E-4 */ + /* test_result[137]: -32766.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-32766.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-32766.2E-4", /* first whitespace character */ @@ -12982,10 +12992,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -13059,11 +13068,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[135]: -514.0 */ + /* test_result[138]: -514.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-514.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-514.0", /* first whitespace character */ @@ -13075,10 +13083,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -13152,11 +13159,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[136]: -514 */ + /* test_result[139]: -514 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-514", /* allocated copy of the original allocated JSON number, NUL terminated */ "-514", /* first whitespace character */ @@ -13166,12 +13172,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -13232,24 +13237,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -514, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -514, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -514L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[137]: -514.1 */ + /* test_result[140]: -514.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-514.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-514.1", /* first whitespace character */ @@ -13261,10 +13265,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -13338,11 +13341,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[138]: -514.2e2 */ + /* test_result[141]: -514.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-514.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-514.2e2", /* first whitespace character */ @@ -13354,10 +13356,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -13431,11 +13432,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[139]: -514.2E-4 */ + /* test_result[142]: -514.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-514.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-514.2E-4", /* first whitespace character */ @@ -13447,10 +13447,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -13524,11 +13523,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[140]: -513.0 */ + /* test_result[143]: -513.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-513.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-513.0", /* first whitespace character */ @@ -13540,10 +13538,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -13617,11 +13614,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[141]: -513 */ + /* test_result[144]: -513 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-513", /* allocated copy of the original allocated JSON number, NUL terminated */ "-513", /* first whitespace character */ @@ -13631,12 +13627,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -13697,24 +13692,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -513, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -513, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -513L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[142]: -513.1 */ + /* test_result[145]: -513.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-513.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-513.1", /* first whitespace character */ @@ -13726,10 +13720,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -13803,11 +13796,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[143]: -513.2e2 */ + /* test_result[146]: -513.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-513.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-513.2e2", /* first whitespace character */ @@ -13819,10 +13811,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -13896,11 +13887,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[144]: -513.2E-4 */ + /* test_result[147]: -513.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-513.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-513.2E-4", /* first whitespace character */ @@ -13912,10 +13902,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -13989,11 +13978,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[145]: -512.0 */ + /* test_result[148]: -512.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-512.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-512.0", /* first whitespace character */ @@ -14005,10 +13993,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -14082,11 +14069,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[146]: -512 */ + /* test_result[149]: -512 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-512", /* allocated copy of the original allocated JSON number, NUL terminated */ "-512", /* first whitespace character */ @@ -14096,12 +14082,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -14162,24 +14147,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -512, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -512, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -512L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[147]: -512.1 */ + /* test_result[150]: -512.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-512.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-512.1", /* first whitespace character */ @@ -14191,10 +14175,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -14268,11 +14251,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[148]: -512.2e2 */ + /* test_result[151]: -512.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-512.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-512.2e2", /* first whitespace character */ @@ -14284,10 +14266,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -14361,11 +14342,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[149]: -512.2E-4 */ + /* test_result[152]: -512.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-512.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-512.2E-4", /* first whitespace character */ @@ -14377,10 +14357,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -14454,11 +14433,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[150]: -511.0 */ + /* test_result[153]: -511.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-511.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-511.0", /* first whitespace character */ @@ -14470,10 +14448,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -14547,11 +14524,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[151]: -511 */ + /* test_result[154]: -511 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-511", /* allocated copy of the original allocated JSON number, NUL terminated */ "-511", /* first whitespace character */ @@ -14561,12 +14537,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -14627,24 +14602,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -511, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -511, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -511L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[152]: -511.1 */ + /* test_result[155]: -511.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-511.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-511.1", /* first whitespace character */ @@ -14656,10 +14630,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -14733,11 +14706,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[153]: -511.2e2 */ + /* test_result[156]: -511.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-511.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-511.2e2", /* first whitespace character */ @@ -14749,10 +14721,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -14826,11 +14797,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[154]: -511.2E-4 */ + /* test_result[157]: -511.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-511.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-511.2E-4", /* first whitespace character */ @@ -14842,10 +14812,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -14919,11 +14888,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[155]: -510.0 */ + /* test_result[158]: -510.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-510.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-510.0", /* first whitespace character */ @@ -14935,10 +14903,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -15012,11 +14979,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[156]: -510 */ + /* test_result[159]: -510 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-510", /* allocated copy of the original allocated JSON number, NUL terminated */ "-510", /* first whitespace character */ @@ -15026,12 +14992,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -15092,24 +15057,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -510, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -510, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -510L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[157]: -510.1 */ + /* test_result[160]: -510.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-510.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-510.1", /* first whitespace character */ @@ -15121,10 +15085,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -15198,11 +15161,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[158]: -510.2e2 */ + /* test_result[161]: -510.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-510.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-510.2e2", /* first whitespace character */ @@ -15214,10 +15176,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -15291,11 +15252,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[159]: -510.2E-4 */ + /* test_result[162]: -510.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-510.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-510.2E-4", /* first whitespace character */ @@ -15307,10 +15267,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -15384,11 +15343,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[160]: -258.0 */ + /* test_result[163]: -258.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-258.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-258.0", /* first whitespace character */ @@ -15400,10 +15358,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -15477,11 +15434,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[161]: -258 */ + /* test_result[164]: -258 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-258", /* allocated copy of the original allocated JSON number, NUL terminated */ "-258", /* first whitespace character */ @@ -15491,12 +15447,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -15557,24 +15512,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -258, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -258, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -258L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[162]: -258.1 */ + /* test_result[165]: -258.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-258.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-258.1", /* first whitespace character */ @@ -15586,10 +15540,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -15663,11 +15616,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[163]: -258.2e2 */ + /* test_result[166]: -258.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-258.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-258.2e2", /* first whitespace character */ @@ -15679,10 +15631,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -15756,11 +15707,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[164]: -258.2E-4 */ + /* test_result[167]: -258.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-258.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-258.2E-4", /* first whitespace character */ @@ -15772,10 +15722,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -15849,11 +15798,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[165]: -257.0 */ + /* test_result[168]: -257.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-257.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-257.0", /* first whitespace character */ @@ -15865,10 +15813,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -15942,11 +15889,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[166]: -257 */ + /* test_result[169]: -257 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-257", /* allocated copy of the original allocated JSON number, NUL terminated */ "-257", /* first whitespace character */ @@ -15956,12 +15902,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -16022,24 +15967,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -257, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -257, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -257L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[167]: -257.1 */ + /* test_result[170]: -257.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-257.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-257.1", /* first whitespace character */ @@ -16051,10 +15995,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -16128,11 +16071,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[168]: -257.2e2 */ + /* test_result[171]: -257.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-257.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-257.2e2", /* first whitespace character */ @@ -16144,10 +16086,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -16221,11 +16162,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[169]: -257.2E-4 */ + /* test_result[172]: -257.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-257.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-257.2E-4", /* first whitespace character */ @@ -16237,10 +16177,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -16314,11 +16253,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[170]: -256.0 */ + /* test_result[173]: -256.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-256.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-256.0", /* first whitespace character */ @@ -16330,10 +16268,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -16407,11 +16344,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[171]: -256 */ + /* test_result[174]: -256 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-256", /* allocated copy of the original allocated JSON number, NUL terminated */ "-256", /* first whitespace character */ @@ -16421,12 +16357,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -16487,24 +16422,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -256, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -256, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -256L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[172]: -256.1 */ + /* test_result[175]: -256.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-256.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-256.1", /* first whitespace character */ @@ -16516,10 +16450,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -16593,11 +16526,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[173]: -256.2e2 */ + /* test_result[176]: -256.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-256.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-256.2e2", /* first whitespace character */ @@ -16609,10 +16541,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -16686,11 +16617,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[174]: -256.2E-4 */ + /* test_result[177]: -256.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-256.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-256.2E-4", /* first whitespace character */ @@ -16702,10 +16632,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -16779,11 +16708,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[175]: -255.0 */ + /* test_result[178]: -255.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-255.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-255.0", /* first whitespace character */ @@ -16795,10 +16723,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -16872,11 +16799,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[176]: -255 */ + /* test_result[179]: -255 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-255", /* allocated copy of the original allocated JSON number, NUL terminated */ "-255", /* first whitespace character */ @@ -16886,12 +16812,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -16952,24 +16877,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -255, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -255, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -255L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[177]: -255.1 */ + /* test_result[180]: -255.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-255.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-255.1", /* first whitespace character */ @@ -16981,10 +16905,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -17058,11 +16981,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[178]: -255.2e2 */ + /* test_result[181]: -255.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-255.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-255.2e2", /* first whitespace character */ @@ -17074,10 +16996,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -17151,11 +17072,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[179]: -255.2E-4 */ + /* test_result[182]: -255.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-255.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-255.2E-4", /* first whitespace character */ @@ -17167,10 +17087,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -17244,11 +17163,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[180]: -254.0 */ + /* test_result[183]: -254.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-254.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-254.0", /* first whitespace character */ @@ -17260,10 +17178,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -17337,11 +17254,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[181]: -254 */ + /* test_result[184]: -254 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-254", /* allocated copy of the original allocated JSON number, NUL terminated */ "-254", /* first whitespace character */ @@ -17351,12 +17267,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -17417,24 +17332,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -254, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -254, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -254L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[182]: -254.1 */ + /* test_result[185]: -254.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-254.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-254.1", /* first whitespace character */ @@ -17446,10 +17360,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -17523,11 +17436,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[183]: -254.2e2 */ + /* test_result[186]: -254.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-254.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-254.2e2", /* first whitespace character */ @@ -17539,10 +17451,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -17616,11 +17527,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[184]: -254.2E-4 */ + /* test_result[187]: -254.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-254.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-254.2E-4", /* first whitespace character */ @@ -17632,10 +17542,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -17709,11 +17618,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[185]: -130.0 */ + /* test_result[188]: -130.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-130.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-130.0", /* first whitespace character */ @@ -17725,10 +17633,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -17802,11 +17709,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[186]: -130 */ + /* test_result[189]: -130 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-130", /* allocated copy of the original allocated JSON number, NUL terminated */ "-130", /* first whitespace character */ @@ -17816,12 +17722,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -17882,24 +17787,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -130, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -130, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -130L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[187]: -130.1 */ + /* test_result[190]: -130.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-130.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-130.1", /* first whitespace character */ @@ -17911,10 +17815,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -17988,11 +17891,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[188]: -130.2e2 */ + /* test_result[191]: -130.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-130.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-130.2e2", /* first whitespace character */ @@ -18004,10 +17906,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -18081,11 +17982,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[189]: -130.2E-4 */ + /* test_result[192]: -130.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-130.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-130.2E-4", /* first whitespace character */ @@ -18097,10 +17997,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -18174,11 +18073,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[190]: -129.0 */ + /* test_result[193]: -129.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-129.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-129.0", /* first whitespace character */ @@ -18190,10 +18088,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -18267,11 +18164,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[191]: -129 */ + /* test_result[194]: -129 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-129", /* allocated copy of the original allocated JSON number, NUL terminated */ "-129", /* first whitespace character */ @@ -18281,12 +18177,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -18347,24 +18242,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -129, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -129, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -129L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[192]: -129.1 */ + /* test_result[195]: -129.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-129.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-129.1", /* first whitespace character */ @@ -18376,10 +18270,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -18453,11 +18346,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[193]: -129.2e2 */ + /* test_result[196]: -129.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-129.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-129.2e2", /* first whitespace character */ @@ -18469,10 +18361,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -18546,11 +18437,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[194]: -129.2E-4 */ + /* test_result[197]: -129.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-129.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-129.2E-4", /* first whitespace character */ @@ -18562,10 +18452,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -18639,11 +18528,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[195]: -128.0 */ + /* test_result[198]: -128.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-128.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-128.0", /* first whitespace character */ @@ -18655,10 +18543,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -18732,11 +18619,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[196]: -128 */ + /* test_result[199]: -128 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-128", /* allocated copy of the original allocated JSON number, NUL terminated */ "-128", /* first whitespace character */ @@ -18746,12 +18632,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ true, /* true ==> converted JSON integer to C int8_t */ -128, /* JSON integer value in int8_t form */ @@ -18812,24 +18697,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -128, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -128, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -128L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[197]: -128.1 */ + /* test_result[200]: -128.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-128.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-128.1", /* first whitespace character */ @@ -18841,10 +18725,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -18918,11 +18801,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[198]: -128.2e2 */ + /* test_result[201]: -128.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-128.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-128.2e2", /* first whitespace character */ @@ -18934,10 +18816,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -19011,11 +18892,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[199]: -128.2E-4 */ + /* test_result[202]: -128.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-128.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-128.2E-4", /* first whitespace character */ @@ -19027,10 +18907,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -19104,11 +18983,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[200]: -127.0 */ + /* test_result[203]: -127.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-127.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-127.0", /* first whitespace character */ @@ -19120,10 +18998,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -19197,11 +19074,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[201]: -127 */ + /* test_result[204]: -127 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-127", /* allocated copy of the original allocated JSON number, NUL terminated */ "-127", /* first whitespace character */ @@ -19211,12 +19087,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ true, /* true ==> converted JSON integer to C int8_t */ -127, /* JSON integer value in int8_t form */ @@ -19277,24 +19152,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -127, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -127, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -127L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[202]: -127.1 */ + /* test_result[205]: -127.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-127.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-127.1", /* first whitespace character */ @@ -19306,10 +19180,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -19383,11 +19256,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[203]: -127.2e2 */ + /* test_result[206]: -127.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-127.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-127.2e2", /* first whitespace character */ @@ -19399,10 +19271,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -19476,11 +19347,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[204]: -127.2E-4 */ + /* test_result[207]: -127.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-127.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-127.2E-4", /* first whitespace character */ @@ -19492,10 +19362,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -19569,11 +19438,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[205]: -126.0 */ + /* test_result[208]: -126.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-126.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-126.0", /* first whitespace character */ @@ -19585,10 +19453,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -19662,11 +19529,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[206]: -126 */ + /* test_result[209]: -126 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-126", /* allocated copy of the original allocated JSON number, NUL terminated */ "-126", /* first whitespace character */ @@ -19676,12 +19542,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ true, /* true ==> converted JSON integer to C int8_t */ -126, /* JSON integer value in int8_t form */ @@ -19742,24 +19607,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -126, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -126, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -126L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[207]: -126.1 */ + /* test_result[210]: -126.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-126.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-126.1", /* first whitespace character */ @@ -19771,10 +19635,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -19848,11 +19711,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[208]: -126.2e2 */ + /* test_result[211]: -126.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-126.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-126.2e2", /* first whitespace character */ @@ -19864,10 +19726,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -19941,11 +19802,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[209]: -126.2E-4 */ + /* test_result[212]: -126.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-126.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-126.2E-4", /* first whitespace character */ @@ -19957,10 +19817,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -20034,11 +19893,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[210]: -2.0 */ + /* test_result[213]: -2.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-2.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-2.0", /* first whitespace character */ @@ -20050,10 +19908,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -20127,11 +19984,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[211]: -2 */ + /* test_result[214]: -2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-2", /* first whitespace character */ @@ -20141,12 +19997,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ true, /* true ==> converted JSON integer to C int8_t */ -2, /* JSON integer value in int8_t form */ @@ -20207,24 +20062,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -2, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -2, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -2L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[212]: -2.1 */ + /* test_result[215]: -2.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-2.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-2.1", /* first whitespace character */ @@ -20236,10 +20090,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -20313,11 +20166,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[213]: -2.2e2 */ + /* test_result[216]: -2.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-2.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-2.2e2", /* first whitespace character */ @@ -20329,10 +20181,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -20406,11 +20257,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[214]: -2.2E-4 */ + /* test_result[217]: -2.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-2.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-2.2E-4", /* first whitespace character */ @@ -20422,10 +20272,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -20499,11 +20348,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[215]: -1.0 */ + /* test_result[218]: -1.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-1.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "-1.0", /* first whitespace character */ @@ -20515,10 +20363,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -20592,11 +20439,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[216]: -1 */ + /* test_result[219]: -1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-1", /* first whitespace character */ @@ -20606,12 +20452,11 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ true, /* true ==> converted JSON integer to C int8_t */ -1, /* JSON integer value in int8_t form */ @@ -20672,24 +20517,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + -1, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + -1, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + -1L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[217]: -1.1 */ + /* test_result[220]: -1.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-1.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "-1.1", /* first whitespace character */ @@ -20701,10 +20545,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -20778,11 +20621,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[218]: -1.2e2 */ + /* test_result[221]: -1.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-1.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "-1.2e2", /* first whitespace character */ @@ -20794,10 +20636,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -20871,11 +20712,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[219]: -1.2E-4 */ + /* test_result[222]: -1.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "-1.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "-1.2E-4", /* first whitespace character */ @@ -20887,10 +20727,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -20964,11 +20803,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[220]: 0.0 */ + /* test_result[223]: 0.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "0.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "0.0", /* first whitespace character */ @@ -20980,10 +20818,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -21057,11 +20894,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[221]: 0 */ + /* test_result[224]: 0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "0", /* allocated copy of the original allocated JSON number, NUL terminated */ "0", /* first whitespace character */ @@ -21071,12 +20907,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ true, /* true ==> converted JSON integer to C int8_t */ 0, /* JSON integer value in int8_t form */ @@ -21137,24 +20972,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 0, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 0, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 0L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[222]: 0.1 */ + /* test_result[225]: 0.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "0.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "0.1", /* first whitespace character */ @@ -21166,10 +21000,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -21243,11 +21076,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[223]: 0.2e2 */ + /* test_result[226]: 0.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "0.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "0.2e2", /* first whitespace character */ @@ -21259,10 +21091,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -21336,11 +21167,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[224]: 0.2E-4 */ + /* test_result[227]: 0.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "0.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "0.2E-4", /* first whitespace character */ @@ -21352,10 +21182,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -21429,11 +21258,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[225]: 1.0 */ + /* test_result[228]: 1.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "1.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "1.0", /* first whitespace character */ @@ -21445,10 +21273,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -21522,11 +21349,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[226]: 1 */ + /* test_result[229]: 1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "1", /* allocated copy of the original allocated JSON number, NUL terminated */ "1", /* first whitespace character */ @@ -21536,12 +21362,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ true, /* true ==> converted JSON integer to C int8_t */ 1, /* JSON integer value in int8_t form */ @@ -21602,24 +21427,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 1, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 1, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 1L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[227]: 1.1 */ + /* test_result[230]: 1.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "1.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "1.1", /* first whitespace character */ @@ -21631,10 +21455,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -21708,11 +21531,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[228]: 1.2e2 */ + /* test_result[231]: 1.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "1.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "1.2e2", /* first whitespace character */ @@ -21724,10 +21546,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -21801,11 +21622,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[229]: 1.2E-4 */ + /* test_result[232]: 1.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "1.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "1.2E-4", /* first whitespace character */ @@ -21817,10 +21637,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -21894,11 +21713,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[230]: 2.0 */ + /* test_result[233]: 2.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "2.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "2.0", /* first whitespace character */ @@ -21910,10 +21728,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -21987,11 +21804,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[231]: 2 */ + /* test_result[234]: 2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "2", /* allocated copy of the original allocated JSON number, NUL terminated */ "2", /* first whitespace character */ @@ -22001,12 +21817,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ true, /* true ==> converted JSON integer to C int8_t */ 2, /* JSON integer value in int8_t form */ @@ -22067,24 +21882,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 2, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 2, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 2L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[232]: 2.1 */ + /* test_result[235]: 2.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "2.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "2.1", /* first whitespace character */ @@ -22096,10 +21910,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -22173,11 +21986,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[233]: 2.2e2 */ + /* test_result[236]: 2.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "2.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "2.2e2", /* first whitespace character */ @@ -22189,10 +22001,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -22266,11 +22077,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[234]: 2.2E-4 */ + /* test_result[237]: 2.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "2.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "2.2E-4", /* first whitespace character */ @@ -22282,10 +22092,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -22359,11 +22168,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[235]: 126.0 */ + /* test_result[238]: 126.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "126.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "126.0", /* first whitespace character */ @@ -22375,10 +22183,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -22452,11 +22259,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[236]: 126 */ + /* test_result[239]: 126 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "126", /* allocated copy of the original allocated JSON number, NUL terminated */ "126", /* first whitespace character */ @@ -22466,12 +22272,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ true, /* true ==> converted JSON integer to C int8_t */ 126, /* JSON integer value in int8_t form */ @@ -22532,24 +22337,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 126, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 126, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 126L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[237]: 126.1 */ + /* test_result[240]: 126.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "126.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "126.1", /* first whitespace character */ @@ -22561,10 +22365,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -22638,11 +22441,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[238]: 126.2e2 */ + /* test_result[241]: 126.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "126.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "126.2e2", /* first whitespace character */ @@ -22654,10 +22456,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -22731,11 +22532,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[239]: 126.2E-4 */ + /* test_result[242]: 126.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "126.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "126.2E-4", /* first whitespace character */ @@ -22747,10 +22547,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -22824,11 +22623,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[240]: 127.0 */ + /* test_result[243]: 127.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "127.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "127.0", /* first whitespace character */ @@ -22840,10 +22638,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -22917,11 +22714,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[241]: 127 */ + /* test_result[244]: 127 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "127", /* allocated copy of the original allocated JSON number, NUL terminated */ "127", /* first whitespace character */ @@ -22931,12 +22727,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ true, /* true ==> converted JSON integer to C int8_t */ 127, /* JSON integer value in int8_t form */ @@ -22997,24 +22792,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 127, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 127, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 127L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[242]: 127.1 */ + /* test_result[245]: 127.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "127.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "127.1", /* first whitespace character */ @@ -23026,10 +22820,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -23103,11 +22896,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[243]: 127.2e2 */ + /* test_result[246]: 127.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "127.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "127.2e2", /* first whitespace character */ @@ -23119,10 +22911,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -23196,11 +22987,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[244]: 127.2E-4 */ + /* test_result[247]: 127.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "127.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "127.2E-4", /* first whitespace character */ @@ -23212,10 +23002,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -23289,11 +23078,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[245]: 128.0 */ + /* test_result[248]: 128.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "128.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "128.0", /* first whitespace character */ @@ -23305,10 +23093,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -23382,11 +23169,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[246]: 128 */ + /* test_result[249]: 128 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "128", /* allocated copy of the original allocated JSON number, NUL terminated */ "128", /* first whitespace character */ @@ -23396,12 +23182,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -23462,24 +23247,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 128, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 128, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 128L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[247]: 128.1 */ + /* test_result[250]: 128.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "128.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "128.1", /* first whitespace character */ @@ -23491,10 +23275,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -23568,11 +23351,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[248]: 128.2e2 */ + /* test_result[251]: 128.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "128.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "128.2e2", /* first whitespace character */ @@ -23584,10 +23366,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -23661,11 +23442,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[249]: 128.2E-4 */ + /* test_result[252]: 128.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "128.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "128.2E-4", /* first whitespace character */ @@ -23677,10 +23457,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -23754,11 +23533,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[250]: 129.0 */ + /* test_result[253]: 129.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "129.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "129.0", /* first whitespace character */ @@ -23770,10 +23548,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -23847,11 +23624,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[251]: 129 */ + /* test_result[254]: 129 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "129", /* allocated copy of the original allocated JSON number, NUL terminated */ "129", /* first whitespace character */ @@ -23861,12 +23637,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -23927,24 +23702,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 129, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 129, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 129L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[252]: 129.1 */ + /* test_result[255]: 129.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "129.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "129.1", /* first whitespace character */ @@ -23956,10 +23730,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -24033,11 +23806,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[253]: 129.2e2 */ + /* test_result[256]: 129.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "129.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "129.2e2", /* first whitespace character */ @@ -24049,10 +23821,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -24126,11 +23897,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[254]: 129.2E-4 */ + /* test_result[257]: 129.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "129.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "129.2E-4", /* first whitespace character */ @@ -24142,10 +23912,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -24219,11 +23988,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[255]: 130.0 */ + /* test_result[258]: 130.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "130.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "130.0", /* first whitespace character */ @@ -24235,10 +24003,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -24312,11 +24079,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[256]: 130 */ + /* test_result[259]: 130 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "130", /* allocated copy of the original allocated JSON number, NUL terminated */ "130", /* first whitespace character */ @@ -24326,12 +24092,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -24392,24 +24157,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 130, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 130, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 130L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[257]: 130.1 */ + /* test_result[260]: 130.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "130.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "130.1", /* first whitespace character */ @@ -24421,10 +24185,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -24498,11 +24261,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[258]: 130.2e2 */ + /* test_result[261]: 130.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "130.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "130.2e2", /* first whitespace character */ @@ -24514,10 +24276,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -24591,11 +24352,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[259]: 130.2E-4 */ + /* test_result[262]: 130.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "130.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "130.2E-4", /* first whitespace character */ @@ -24607,10 +24367,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -24684,11 +24443,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[260]: 254.0 */ + /* test_result[263]: 254.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "254.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "254.0", /* first whitespace character */ @@ -24700,10 +24458,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -24777,11 +24534,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[261]: 254 */ + /* test_result[264]: 254 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "254", /* allocated copy of the original allocated JSON number, NUL terminated */ "254", /* first whitespace character */ @@ -24791,12 +24547,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -24857,24 +24612,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 254, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 254, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 254L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[262]: 254.1 */ + /* test_result[265]: 254.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "254.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "254.1", /* first whitespace character */ @@ -24886,10 +24640,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -24963,11 +24716,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[263]: 254.2e2 */ + /* test_result[266]: 254.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "254.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "254.2e2", /* first whitespace character */ @@ -24979,10 +24731,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -25056,11 +24807,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[264]: 254.2E-4 */ + /* test_result[267]: 254.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "254.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "254.2E-4", /* first whitespace character */ @@ -25072,10 +24822,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -25149,11 +24898,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[265]: 255.0 */ + /* test_result[268]: 255.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "255.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "255.0", /* first whitespace character */ @@ -25165,10 +24913,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -25242,11 +24989,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[266]: 255 */ + /* test_result[269]: 255 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "255", /* allocated copy of the original allocated JSON number, NUL terminated */ "255", /* first whitespace character */ @@ -25256,12 +25002,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -25322,24 +25067,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 255, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 255, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 255L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[267]: 255.1 */ + /* test_result[270]: 255.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "255.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "255.1", /* first whitespace character */ @@ -25351,10 +25095,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -25428,11 +25171,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[268]: 255.2e2 */ + /* test_result[271]: 255.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "255.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "255.2e2", /* first whitespace character */ @@ -25444,10 +25186,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -25521,11 +25262,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[269]: 255.2E-4 */ + /* test_result[272]: 255.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "255.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "255.2E-4", /* first whitespace character */ @@ -25537,10 +25277,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -25614,11 +25353,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[270]: 256.0 */ + /* test_result[273]: 256.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "256.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "256.0", /* first whitespace character */ @@ -25630,10 +25368,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -25707,11 +25444,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[271]: 256 */ + /* test_result[274]: 256 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "256", /* allocated copy of the original allocated JSON number, NUL terminated */ "256", /* first whitespace character */ @@ -25721,12 +25457,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -25787,24 +25522,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 256, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 256, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 256L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[272]: 256.1 */ + /* test_result[275]: 256.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "256.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "256.1", /* first whitespace character */ @@ -25816,10 +25550,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -25893,11 +25626,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[273]: 256.2e2 */ + /* test_result[276]: 256.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "256.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "256.2e2", /* first whitespace character */ @@ -25909,10 +25641,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -25986,11 +25717,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[274]: 256.2E-4 */ + /* test_result[277]: 256.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "256.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "256.2E-4", /* first whitespace character */ @@ -26002,10 +25732,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -26079,11 +25808,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[275]: 257.0 */ + /* test_result[278]: 257.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "257.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "257.0", /* first whitespace character */ @@ -26095,10 +25823,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -26172,11 +25899,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[276]: 257 */ + /* test_result[279]: 257 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "257", /* allocated copy of the original allocated JSON number, NUL terminated */ "257", /* first whitespace character */ @@ -26186,12 +25912,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -26252,24 +25977,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 257, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 257, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 257L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[277]: 257.1 */ + /* test_result[280]: 257.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "257.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "257.1", /* first whitespace character */ @@ -26281,10 +26005,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -26358,11 +26081,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[278]: 257.2e2 */ + /* test_result[281]: 257.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "257.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "257.2e2", /* first whitespace character */ @@ -26374,10 +26096,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -26451,11 +26172,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[279]: 257.2E-4 */ + /* test_result[282]: 257.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "257.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "257.2E-4", /* first whitespace character */ @@ -26467,10 +26187,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -26544,11 +26263,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[280]: 258.0 */ + /* test_result[283]: 258.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "258.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "258.0", /* first whitespace character */ @@ -26560,10 +26278,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -26637,11 +26354,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[281]: 258 */ + /* test_result[284]: 258 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "258", /* allocated copy of the original allocated JSON number, NUL terminated */ "258", /* first whitespace character */ @@ -26651,12 +26367,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -26717,24 +26432,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 258, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 258, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 258L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[282]: 258.1 */ + /* test_result[285]: 258.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "258.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "258.1", /* first whitespace character */ @@ -26746,10 +26460,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -26823,11 +26536,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[283]: 258.2e2 */ + /* test_result[286]: 258.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "258.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "258.2e2", /* first whitespace character */ @@ -26839,10 +26551,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -26916,11 +26627,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[284]: 258.2E-4 */ + /* test_result[287]: 258.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "258.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "258.2E-4", /* first whitespace character */ @@ -26932,10 +26642,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -27009,11 +26718,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[285]: 510.0 */ + /* test_result[288]: 510.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "510.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "510.0", /* first whitespace character */ @@ -27025,10 +26733,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -27102,11 +26809,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[286]: 510 */ + /* test_result[289]: 510 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "510", /* allocated copy of the original allocated JSON number, NUL terminated */ "510", /* first whitespace character */ @@ -27116,12 +26822,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -27182,24 +26887,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 510, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 510, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 510L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[287]: 510.1 */ + /* test_result[290]: 510.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "510.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "510.1", /* first whitespace character */ @@ -27211,10 +26915,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -27288,11 +26991,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[288]: 510.2e2 */ + /* test_result[291]: 510.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "510.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "510.2e2", /* first whitespace character */ @@ -27304,10 +27006,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -27381,11 +27082,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[289]: 510.2E-4 */ + /* test_result[292]: 510.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "510.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "510.2E-4", /* first whitespace character */ @@ -27397,10 +27097,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -27474,11 +27173,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[290]: 511.0 */ + /* test_result[293]: 511.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "511.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "511.0", /* first whitespace character */ @@ -27490,10 +27188,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -27567,11 +27264,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[291]: 511 */ + /* test_result[294]: 511 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "511", /* allocated copy of the original allocated JSON number, NUL terminated */ "511", /* first whitespace character */ @@ -27581,12 +27277,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -27647,24 +27342,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 511, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 511, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 511L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[292]: 511.1 */ + /* test_result[295]: 511.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "511.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "511.1", /* first whitespace character */ @@ -27676,10 +27370,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -27753,11 +27446,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[293]: 511.2e2 */ + /* test_result[296]: 511.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "511.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "511.2e2", /* first whitespace character */ @@ -27769,10 +27461,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -27846,11 +27537,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[294]: 511.2E-4 */ + /* test_result[297]: 511.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "511.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "511.2E-4", /* first whitespace character */ @@ -27862,10 +27552,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -27939,11 +27628,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[295]: 512.0 */ + /* test_result[298]: 512.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "512.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "512.0", /* first whitespace character */ @@ -27955,10 +27643,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -28032,11 +27719,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[296]: 512 */ + /* test_result[299]: 512 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "512", /* allocated copy of the original allocated JSON number, NUL terminated */ "512", /* first whitespace character */ @@ -28046,12 +27732,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -28112,24 +27797,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 512, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 512, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 512L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[297]: 512.1 */ + /* test_result[300]: 512.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "512.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "512.1", /* first whitespace character */ @@ -28141,10 +27825,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -28218,11 +27901,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[298]: 512.2e2 */ + /* test_result[301]: 512.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "512.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "512.2e2", /* first whitespace character */ @@ -28234,10 +27916,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -28311,11 +27992,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[299]: 512.2E-4 */ + /* test_result[302]: 512.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "512.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "512.2E-4", /* first whitespace character */ @@ -28327,10 +28007,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -28404,11 +28083,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[300]: 513.0 */ + /* test_result[303]: 513.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "513.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "513.0", /* first whitespace character */ @@ -28420,10 +28098,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -28497,11 +28174,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[301]: 513 */ + /* test_result[304]: 513 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "513", /* allocated copy of the original allocated JSON number, NUL terminated */ "513", /* first whitespace character */ @@ -28511,12 +28187,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -28577,24 +28252,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 513, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 513, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 513L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[302]: 513.1 */ + /* test_result[305]: 513.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "513.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "513.1", /* first whitespace character */ @@ -28606,10 +28280,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -28683,11 +28356,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[303]: 513.2e2 */ + /* test_result[306]: 513.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "513.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "513.2e2", /* first whitespace character */ @@ -28699,10 +28371,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -28776,11 +28447,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[304]: 513.2E-4 */ + /* test_result[307]: 513.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "513.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "513.2E-4", /* first whitespace character */ @@ -28792,10 +28462,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -28869,11 +28538,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[305]: 514.0 */ + /* test_result[308]: 514.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "514.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "514.0", /* first whitespace character */ @@ -28885,10 +28553,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -28962,11 +28629,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[306]: 514 */ + /* test_result[309]: 514 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "514", /* allocated copy of the original allocated JSON number, NUL terminated */ "514", /* first whitespace character */ @@ -28976,12 +28642,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -29042,24 +28707,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 514, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 514, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 514L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[307]: 514.1 */ + /* test_result[310]: 514.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "514.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "514.1", /* first whitespace character */ @@ -29071,10 +28735,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -29148,11 +28811,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[308]: 514.2e2 */ + /* test_result[311]: 514.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "514.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "514.2e2", /* first whitespace character */ @@ -29164,10 +28826,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -29241,11 +28902,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[309]: 514.2E-4 */ + /* test_result[312]: 514.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "514.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "514.2E-4", /* first whitespace character */ @@ -29257,10 +28917,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -29334,11 +28993,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[310]: 32766.0 */ + /* test_result[313]: 32766.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "32766.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "32766.0", /* first whitespace character */ @@ -29350,10 +29008,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -29427,11 +29084,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[311]: 32766 */ + /* test_result[314]: 32766 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "32766", /* allocated copy of the original allocated JSON number, NUL terminated */ "32766", /* first whitespace character */ @@ -29441,12 +29097,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -29507,24 +29162,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 32766, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 32766, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 32766L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[312]: 32766.1 */ + /* test_result[315]: 32766.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "32766.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "32766.1", /* first whitespace character */ @@ -29536,10 +29190,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -29613,11 +29266,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[313]: 32766.2e2 */ + /* test_result[316]: 32766.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "32766.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "32766.2e2", /* first whitespace character */ @@ -29629,10 +29281,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -29706,11 +29357,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[314]: 32766.2E-4 */ + /* test_result[317]: 32766.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "32766.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "32766.2E-4", /* first whitespace character */ @@ -29722,10 +29372,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -29799,11 +29448,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[315]: 32767.0 */ + /* test_result[318]: 32767.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "32767.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "32767.0", /* first whitespace character */ @@ -29815,10 +29463,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -29892,11 +29539,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[316]: 32767 */ + /* test_result[319]: 32767 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "32767", /* allocated copy of the original allocated JSON number, NUL terminated */ "32767", /* first whitespace character */ @@ -29906,12 +29552,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -29972,24 +29617,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 32767, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 32767, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 32767L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[317]: 32767.1 */ + /* test_result[320]: 32767.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "32767.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "32767.1", /* first whitespace character */ @@ -30001,10 +29645,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -30078,11 +29721,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[318]: 32767.2e2 */ + /* test_result[321]: 32767.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "32767.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "32767.2e2", /* first whitespace character */ @@ -30094,10 +29736,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -30171,11 +29812,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[319]: 32767.2E-4 */ + /* test_result[322]: 32767.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "32767.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "32767.2E-4", /* first whitespace character */ @@ -30187,10 +29827,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -30264,11 +29903,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[320]: 32768.0 */ + /* test_result[323]: 32768.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "32768.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "32768.0", /* first whitespace character */ @@ -30280,10 +29918,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -30357,11 +29994,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[321]: 32768 */ + /* test_result[324]: 32768 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "32768", /* allocated copy of the original allocated JSON number, NUL terminated */ "32768", /* first whitespace character */ @@ -30371,12 +30007,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -30437,24 +30072,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 32768, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 32768, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 32768L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[322]: 32768.1 */ + /* test_result[325]: 32768.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "32768.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "32768.1", /* first whitespace character */ @@ -30466,10 +30100,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -30543,11 +30176,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[323]: 32768.2e2 */ + /* test_result[326]: 32768.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "32768.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "32768.2e2", /* first whitespace character */ @@ -30559,10 +30191,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -30636,11 +30267,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[324]: 32768.2E-4 */ + /* test_result[327]: 32768.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "32768.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "32768.2E-4", /* first whitespace character */ @@ -30652,10 +30282,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -30729,11 +30358,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[325]: 32769.0 */ + /* test_result[328]: 32769.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "32769.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "32769.0", /* first whitespace character */ @@ -30745,10 +30373,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -30822,11 +30449,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[326]: 32769 */ + /* test_result[329]: 32769 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "32769", /* allocated copy of the original allocated JSON number, NUL terminated */ "32769", /* first whitespace character */ @@ -30836,12 +30462,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -30902,24 +30527,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 32769, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 32769, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 32769L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[327]: 32769.1 */ + /* test_result[330]: 32769.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "32769.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "32769.1", /* first whitespace character */ @@ -30931,10 +30555,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -31008,11 +30631,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[328]: 32769.2e2 */ + /* test_result[331]: 32769.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "32769.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "32769.2e2", /* first whitespace character */ @@ -31024,10 +30646,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -31101,11 +30722,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[329]: 32769.2E-4 */ + /* test_result[332]: 32769.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "32769.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "32769.2E-4", /* first whitespace character */ @@ -31117,10 +30737,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -31194,11 +30813,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[330]: 32770.0 */ + /* test_result[333]: 32770.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "32770.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "32770.0", /* first whitespace character */ @@ -31210,10 +30828,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -31287,11 +30904,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[331]: 32770 */ + /* test_result[334]: 32770 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "32770", /* allocated copy of the original allocated JSON number, NUL terminated */ "32770", /* first whitespace character */ @@ -31301,12 +30917,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -31367,24 +30982,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 32770, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 32770, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 32770L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[332]: 32770.1 */ + /* test_result[335]: 32770.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "32770.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "32770.1", /* first whitespace character */ @@ -31396,10 +31010,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -31473,11 +31086,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[333]: 32770.2e2 */ + /* test_result[336]: 32770.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "32770.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "32770.2e2", /* first whitespace character */ @@ -31489,10 +31101,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -31566,11 +31177,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[334]: 32770.2E-4 */ + /* test_result[337]: 32770.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "32770.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "32770.2E-4", /* first whitespace character */ @@ -31582,10 +31192,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -31659,11 +31268,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[335]: 65534.0 */ + /* test_result[338]: 65534.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "65534.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "65534.0", /* first whitespace character */ @@ -31675,10 +31283,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -31752,11 +31359,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[336]: 65534 */ + /* test_result[339]: 65534 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "65534", /* allocated copy of the original allocated JSON number, NUL terminated */ "65534", /* first whitespace character */ @@ -31766,12 +31372,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -31832,24 +31437,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 65534, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 65534, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 65534L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[337]: 65534.1 */ + /* test_result[340]: 65534.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "65534.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "65534.1", /* first whitespace character */ @@ -31861,10 +31465,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -31938,11 +31541,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[338]: 65534.2e2 */ + /* test_result[341]: 65534.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "65534.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "65534.2e2", /* first whitespace character */ @@ -31954,10 +31556,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -32031,11 +31632,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[339]: 65534.2E-4 */ + /* test_result[342]: 65534.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "65534.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "65534.2E-4", /* first whitespace character */ @@ -32047,10 +31647,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -32124,11 +31723,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[340]: 65535.0 */ + /* test_result[343]: 65535.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "65535.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "65535.0", /* first whitespace character */ @@ -32140,10 +31738,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -32217,11 +31814,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[341]: 65535 */ + /* test_result[344]: 65535 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "65535", /* allocated copy of the original allocated JSON number, NUL terminated */ "65535", /* first whitespace character */ @@ -32231,12 +31827,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -32297,24 +31892,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 65535, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 65535, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 65535L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[342]: 65535.1 */ + /* test_result[345]: 65535.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "65535.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "65535.1", /* first whitespace character */ @@ -32326,10 +31920,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -32403,11 +31996,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[343]: 65535.2e2 */ + /* test_result[346]: 65535.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "65535.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "65535.2e2", /* first whitespace character */ @@ -32419,10 +32011,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -32496,11 +32087,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[344]: 65535.2E-4 */ + /* test_result[347]: 65535.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "65535.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "65535.2E-4", /* first whitespace character */ @@ -32512,10 +32102,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -32589,11 +32178,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[345]: 65536.0 */ + /* test_result[348]: 65536.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "65536.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "65536.0", /* first whitespace character */ @@ -32605,10 +32193,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -32682,11 +32269,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[346]: 65536 */ + /* test_result[349]: 65536 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "65536", /* allocated copy of the original allocated JSON number, NUL terminated */ "65536", /* first whitespace character */ @@ -32696,12 +32282,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -32762,24 +32347,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 65536, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 65536, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 65536L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[347]: 65536.1 */ + /* test_result[350]: 65536.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "65536.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "65536.1", /* first whitespace character */ @@ -32791,10 +32375,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -32868,11 +32451,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[348]: 65536.2e2 */ + /* test_result[351]: 65536.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "65536.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "65536.2e2", /* first whitespace character */ @@ -32884,10 +32466,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -32961,11 +32542,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[349]: 65536.2E-4 */ + /* test_result[352]: 65536.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "65536.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "65536.2E-4", /* first whitespace character */ @@ -32977,10 +32557,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -33054,11 +32633,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[350]: 65537.0 */ + /* test_result[353]: 65537.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "65537.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "65537.0", /* first whitespace character */ @@ -33070,10 +32648,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -33147,11 +32724,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[351]: 65537 */ + /* test_result[354]: 65537 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "65537", /* allocated copy of the original allocated JSON number, NUL terminated */ "65537", /* first whitespace character */ @@ -33161,12 +32737,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -33227,24 +32802,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 65537, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 65537, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 65537L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[352]: 65537.1 */ + /* test_result[355]: 65537.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "65537.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "65537.1", /* first whitespace character */ @@ -33256,10 +32830,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -33333,11 +32906,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[353]: 65537.2e2 */ + /* test_result[356]: 65537.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "65537.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "65537.2e2", /* first whitespace character */ @@ -33349,10 +32921,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -33426,11 +32997,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[354]: 65537.2E-4 */ + /* test_result[357]: 65537.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "65537.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "65537.2E-4", /* first whitespace character */ @@ -33442,10 +33012,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -33519,11 +33088,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[355]: 65538.0 */ + /* test_result[358]: 65538.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "65538.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "65538.0", /* first whitespace character */ @@ -33535,10 +33103,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -33612,11 +33179,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[356]: 65538 */ + /* test_result[359]: 65538 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "65538", /* allocated copy of the original allocated JSON number, NUL terminated */ "65538", /* first whitespace character */ @@ -33626,12 +33192,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -33692,24 +33257,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 65538, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 65538, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 65538L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[357]: 65538.1 */ + /* test_result[360]: 65538.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "65538.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "65538.1", /* first whitespace character */ @@ -33721,10 +33285,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -33798,11 +33361,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[358]: 65538.2e2 */ + /* test_result[361]: 65538.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "65538.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "65538.2e2", /* first whitespace character */ @@ -33814,10 +33376,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -33891,11 +33452,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[359]: 65538.2E-4 */ + /* test_result[362]: 65538.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "65538.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "65538.2E-4", /* first whitespace character */ @@ -33907,10 +33467,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -33984,11 +33543,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[360]: 131070.0 */ + /* test_result[363]: 131070.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "131070.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "131070.0", /* first whitespace character */ @@ -34000,10 +33558,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -34077,11 +33634,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[361]: 131070 */ + /* test_result[364]: 131070 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "131070", /* allocated copy of the original allocated JSON number, NUL terminated */ "131070", /* first whitespace character */ @@ -34091,12 +33647,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -34157,24 +33712,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 131070, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 131070, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 131070L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[362]: 131070.1 */ + /* test_result[365]: 131070.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "131070.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "131070.1", /* first whitespace character */ @@ -34186,10 +33740,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -34263,11 +33816,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[363]: 131070.2e2 */ + /* test_result[366]: 131070.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "131070.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "131070.2e2", /* first whitespace character */ @@ -34279,10 +33831,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -34356,11 +33907,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[364]: 131070.2E-4 */ + /* test_result[367]: 131070.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "131070.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "131070.2E-4", /* first whitespace character */ @@ -34372,10 +33922,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -34449,11 +33998,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[365]: 131071.0 */ + /* test_result[368]: 131071.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "131071.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "131071.0", /* first whitespace character */ @@ -34465,10 +34013,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -34542,11 +34089,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[366]: 131071 */ + /* test_result[369]: 131071 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "131071", /* allocated copy of the original allocated JSON number, NUL terminated */ "131071", /* first whitespace character */ @@ -34556,12 +34102,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -34622,24 +34167,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 131071, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 131071, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 131071L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[367]: 131071.1 */ + /* test_result[370]: 131071.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "131071.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "131071.1", /* first whitespace character */ @@ -34651,10 +34195,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -34728,11 +34271,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[368]: 131071.2e2 */ + /* test_result[371]: 131071.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "131071.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "131071.2e2", /* first whitespace character */ @@ -34744,10 +34286,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -34821,11 +34362,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[369]: 131071.2E-4 */ + /* test_result[372]: 131071.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "131071.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "131071.2E-4", /* first whitespace character */ @@ -34837,10 +34377,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -34914,11 +34453,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[370]: 131072.0 */ + /* test_result[373]: 131072.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "131072.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "131072.0", /* first whitespace character */ @@ -34930,10 +34468,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -35007,11 +34544,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[371]: 131072 */ + /* test_result[374]: 131072 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "131072", /* allocated copy of the original allocated JSON number, NUL terminated */ "131072", /* first whitespace character */ @@ -35021,12 +34557,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -35087,24 +34622,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 131072, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 131072, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 131072L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[372]: 131072.1 */ + /* test_result[375]: 131072.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "131072.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "131072.1", /* first whitespace character */ @@ -35116,10 +34650,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -35193,11 +34726,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[373]: 131072.2e2 */ + /* test_result[376]: 131072.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "131072.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "131072.2e2", /* first whitespace character */ @@ -35209,10 +34741,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -35286,11 +34817,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[374]: 131072.2E-4 */ + /* test_result[377]: 131072.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "131072.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "131072.2E-4", /* first whitespace character */ @@ -35302,10 +34832,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -35379,11 +34908,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[375]: 131073.0 */ + /* test_result[378]: 131073.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "131073.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "131073.0", /* first whitespace character */ @@ -35395,10 +34923,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -35472,11 +34999,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[376]: 131073 */ + /* test_result[379]: 131073 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "131073", /* allocated copy of the original allocated JSON number, NUL terminated */ "131073", /* first whitespace character */ @@ -35486,12 +35012,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -35552,24 +35077,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 131073, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 131073, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 131073L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[377]: 131073.1 */ + /* test_result[380]: 131073.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "131073.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "131073.1", /* first whitespace character */ @@ -35581,10 +35105,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -35658,11 +35181,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[378]: 131073.2e2 */ + /* test_result[381]: 131073.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "131073.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "131073.2e2", /* first whitespace character */ @@ -35674,10 +35196,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -35751,11 +35272,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[379]: 131073.2E-4 */ + /* test_result[382]: 131073.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "131073.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "131073.2E-4", /* first whitespace character */ @@ -35767,10 +35287,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -35844,11 +35363,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[380]: 131074.0 */ + /* test_result[383]: 131074.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "131074.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "131074.0", /* first whitespace character */ @@ -35860,10 +35378,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -35937,11 +35454,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[381]: 131074 */ + /* test_result[384]: 131074 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "131074", /* allocated copy of the original allocated JSON number, NUL terminated */ "131074", /* first whitespace character */ @@ -35951,12 +35467,11 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ - false, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ true, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -36017,24 +35532,23 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - false, /* true ==> converted JSON floating point to C float */ - 0, /* no JSON floating point value in float form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C float */ + 131074, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ - false, /* true ==> converted JSON floating point to C double */ - 0, /* no JSON floating point value in double form */ - false, /* if double_sized == true, true ==> as_double is an integer */ + true, /* true ==> converted JSON floating point to C double */ + 131074, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ - false, /* true ==> converted JSON floating point to C long double */ - 0, /* no JSON floating point value in long double form */ - false, /* if float_sized == true, true ==> as_float is an integer */ + true, /* true ==> converted JSON floating point to C long double */ + 131074L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[382]: 131074.1 */ + /* test_result[385]: 131074.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "131074.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "131074.1", /* first whitespace character */ @@ -36046,10 +35560,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -36123,11 +35636,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[383]: 131074.2e2 */ + /* test_result[386]: 131074.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "131074.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "131074.2e2", /* first whitespace character */ @@ -36139,10 +35651,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -36216,11 +35727,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[384]: 131074.2E-4 */ + /* test_result[387]: 131074.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "131074.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "131074.2E-4", /* first whitespace character */ @@ -36232,10 +35742,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -36309,11 +35818,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[385]: 2147483646.0 */ + /* test_result[388]: 2147483646.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "2147483646.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "2147483646.0", /* first whitespace character */ @@ -36325,10 +35833,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -36402,11 +35909,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[386]: 2147483646.1 */ + /* test_result[389]: 2147483646.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "2147483646.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "2147483646.1", /* first whitespace character */ @@ -36418,10 +35924,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -36495,11 +36000,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[387]: 2147483646.2e2 */ + /* test_result[390]: 2147483646.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "2147483646.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "2147483646.2e2", /* first whitespace character */ @@ -36511,10 +36015,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -36588,11 +36091,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[388]: 2147483646.2E-4 */ + /* test_result[391]: 2147483646.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "2147483646.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "2147483646.2E-4", /* first whitespace character */ @@ -36604,10 +36106,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -36681,11 +36182,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[389]: 2147483647.0 */ + /* test_result[392]: 2147483647.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "2147483647.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "2147483647.0", /* first whitespace character */ @@ -36697,10 +36197,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -36774,11 +36273,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[390]: 2147483647.1 */ + /* test_result[393]: 2147483647.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "2147483647.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "2147483647.1", /* first whitespace character */ @@ -36790,10 +36288,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -36867,11 +36364,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[391]: 2147483647.2e2 */ + /* test_result[394]: 2147483647.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "2147483647.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "2147483647.2e2", /* first whitespace character */ @@ -36883,10 +36379,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -36960,11 +36455,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[392]: 2147483647.2E-4 */ + /* test_result[395]: 2147483647.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "2147483647.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "2147483647.2E-4", /* first whitespace character */ @@ -36976,10 +36470,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -37053,11 +36546,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[393]: 2147483648.0 */ + /* test_result[396]: 2147483648.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "2147483648.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "2147483648.0", /* first whitespace character */ @@ -37069,10 +36561,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -37146,11 +36637,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[394]: 2147483648.1 */ + /* test_result[397]: 2147483648.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "2147483648.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "2147483648.1", /* first whitespace character */ @@ -37162,10 +36652,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -37239,11 +36728,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[395]: 2147483648.2e2 */ + /* test_result[398]: 2147483648.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "2147483648.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "2147483648.2e2", /* first whitespace character */ @@ -37255,10 +36743,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -37332,11 +36819,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[396]: 2147483648.2E-4 */ + /* test_result[399]: 2147483648.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "2147483648.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "2147483648.2E-4", /* first whitespace character */ @@ -37348,10 +36834,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -37425,11 +36910,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[397]: 2147483649.0 */ + /* test_result[400]: 2147483649.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "2147483649.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "2147483649.0", /* first whitespace character */ @@ -37441,10 +36925,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -37518,11 +37001,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[398]: 2147483649.1 */ + /* test_result[401]: 2147483649.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "2147483649.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "2147483649.1", /* first whitespace character */ @@ -37534,10 +37016,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -37611,11 +37092,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[399]: 2147483649.2e2 */ + /* test_result[402]: 2147483649.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "2147483649.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "2147483649.2e2", /* first whitespace character */ @@ -37627,10 +37107,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -37704,11 +37183,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[400]: 2147483649.2E-4 */ + /* test_result[403]: 2147483649.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "2147483649.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "2147483649.2E-4", /* first whitespace character */ @@ -37720,10 +37198,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -37797,11 +37274,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[401]: 2147483650.0 */ + /* test_result[404]: 2147483650.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "2147483650.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "2147483650.0", /* first whitespace character */ @@ -37813,10 +37289,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -37890,11 +37365,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[402]: 2147483650.1 */ + /* test_result[405]: 2147483650.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "2147483650.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "2147483650.1", /* first whitespace character */ @@ -37906,10 +37380,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -37983,11 +37456,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[403]: 2147483650.2e2 */ + /* test_result[406]: 2147483650.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "2147483650.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "2147483650.2e2", /* first whitespace character */ @@ -37999,10 +37471,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -38076,11 +37547,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[404]: 2147483650.2E-4 */ + /* test_result[407]: 2147483650.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "2147483650.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "2147483650.2E-4", /* first whitespace character */ @@ -38092,10 +37562,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -38169,11 +37638,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[405]: 4294967294.0 */ + /* test_result[408]: 4294967294.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "4294967294.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "4294967294.0", /* first whitespace character */ @@ -38185,10 +37653,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -38262,11 +37729,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[406]: 4294967294.1 */ + /* test_result[409]: 4294967294.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "4294967294.1", /* allocated copy of the original allocated JSON number, NUL terminated */ "4294967294.1", /* first whitespace character */ @@ -38278,10 +37744,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -38355,11 +37820,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[407]: 4294967294.2e2 */ + /* test_result[410]: 4294967294.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "4294967294.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ "4294967294.2e2", /* first whitespace character */ @@ -38371,10 +37835,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -38448,11 +37911,10 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[408]: 4294967294.2E-4 */ + /* test_result[411]: 4294967294.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "4294967294.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ "4294967294.2E-4", /* first whitespace character */ @@ -38464,10 +37926,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -38541,11 +38002,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[409]: 4294967295.0 */ + /* test_result[412]: 4294967295.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ "4294967295.0", /* allocated copy of the original allocated JSON number, NUL terminated */ "4294967295.0", /* first whitespace character */ @@ -38557,10 +38017,191 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ + false, /* true ==> integer conversion success, false ==> no integer conversion */ + + /* integer values */ + + false, /* true ==> converted JSON integer to C int8_t */ + 0, /* no JSON integer value in int8_t form */ + + false, /* true ==> converted JSON integer to C uint8_t */ + 0, /* no JSON integer value in uint8_t form */ + + false, /* true ==> converted JSON integer to C int16_t */ + 0, /* no JSON integer value in int16_t form */ + + false, /* true ==> converted JSON integer to C uint16_t */ + 0, /* no JSON integer value in uint16_t form */ + + false, /* true ==> converted JSON integer to C int32_t */ + 0, /* no JSON integer value in int32_t form */ + + false, /* true ==> converted JSON integer to C uint32_t */ + 0, /* no JSON integer value in uint32_t form */ + + false, /* true ==> converted JSON integer to C int64_t */ + 0, /* no JSON integer value in int64_t form */ + + false, /* true ==> converted JSON integer to C uint64_t */ + 0, /* no JSON integer value in uint64_t form */ + + false, /* true ==> converted JSON integer to C int */ + 0, /* no JSON integer value in int form */ + + false, /* true ==> converted JSON integer to C unsigned int */ + 0, /* no JSON integer value in unsigned int form */ + + false, /* true ==> converted JSON integer to C long */ + 0, /* no JSON integer value in long form */ + + false, /* true ==> converted JSON integer to C unsigned long */ + 0, /* no JSON integer value in unsigned long form */ + + false, /* true ==> converted JSON integer to C long long */ + 0, /* no JSON integer value in long long form */ + + false, /* true ==> converted JSON integer to C unsigned long long */ + 0, /* no JSON integer value in unsigned long long form */ + + false, /* true ==> converted JSON integer to C ssize_t */ + 0, /* no JSON integer value in ssize_t form */ + + false, /* true ==> converted JSON integer to C size_t */ + 0, /* no JSON integer value in size_t form */ + + false, /* true ==> converted JSON integer to C off_t */ + 0, /* no JSON integer value in off_t form */ + + false, /* true ==> converted JSON integer to C intmax_t */ + 0, /* no JSON integer value in intmax_t form */ + + false, /* true ==> converted JSON integer to C uintmax_t */ + 0, /* no JSON integer value in uintmax_t form */ + + /* floating point values */ + + true, /* true ==> converted JSON floating point to C float */ + 4294967296, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ + + true, /* true ==> converted JSON floating point to C double */ + 4294967295, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ + + true, /* true ==> converted JSON floating point to C long double */ + 4294967295L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ + }, + + /* test_result[413]: 4294967295.1 */ + { + true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ + + "4294967295.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "4294967295.1", /* first whitespace character */ + + 12, /* length of as_str */ + 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + + false, /* true ==> value < 0 */ + + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ + false, /* true ==> integer conversion success, false ==> no integer conversion */ /* integer values */ + + false, /* true ==> converted JSON integer to C int8_t */ + 0, /* no JSON integer value in int8_t form */ + + false, /* true ==> converted JSON integer to C uint8_t */ + 0, /* no JSON integer value in uint8_t form */ + + false, /* true ==> converted JSON integer to C int16_t */ + 0, /* no JSON integer value in int16_t form */ + + false, /* true ==> converted JSON integer to C uint16_t */ + 0, /* no JSON integer value in uint16_t form */ + + false, /* true ==> converted JSON integer to C int32_t */ + 0, /* no JSON integer value in int32_t form */ + + false, /* true ==> converted JSON integer to C uint32_t */ + 0, /* no JSON integer value in uint32_t form */ + + false, /* true ==> converted JSON integer to C int64_t */ + 0, /* no JSON integer value in int64_t form */ + + false, /* true ==> converted JSON integer to C uint64_t */ + 0, /* no JSON integer value in uint64_t form */ + + false, /* true ==> converted JSON integer to C int */ + 0, /* no JSON integer value in int form */ + + false, /* true ==> converted JSON integer to C unsigned int */ + 0, /* no JSON integer value in unsigned int form */ + + false, /* true ==> converted JSON integer to C long */ + 0, /* no JSON integer value in long form */ + + false, /* true ==> converted JSON integer to C unsigned long */ + 0, /* no JSON integer value in unsigned long form */ + + false, /* true ==> converted JSON integer to C long long */ + 0, /* no JSON integer value in long long form */ + + false, /* true ==> converted JSON integer to C unsigned long long */ + 0, /* no JSON integer value in unsigned long long form */ + + false, /* true ==> converted JSON integer to C ssize_t */ + 0, /* no JSON integer value in ssize_t form */ + + false, /* true ==> converted JSON integer to C size_t */ + 0, /* no JSON integer value in size_t form */ + + false, /* true ==> converted JSON integer to C off_t */ + 0, /* no JSON integer value in off_t form */ + + false, /* true ==> converted JSON integer to C intmax_t */ + 0, /* no JSON integer value in intmax_t form */ + + false, /* true ==> converted JSON integer to C uintmax_t */ + 0, /* no JSON integer value in uintmax_t form */ + + /* floating point values */ + + true, /* true ==> converted JSON floating point to C float */ + 4294967296, /* JSON floating point value in float form */ + false, /* if float_sized == true, true ==> as_float is an integer */ + + true, /* true ==> converted JSON floating point to C double */ + 4294967295.099999904633, /* JSON floating point value in double form */ + false, /* if double_sized == true, true ==> as_double is an integer */ + + true, /* true ==> converted JSON floating point to C long double */ + 4294967295.099999904633L, /* JSON floating point value in long double form */ + false, /* if float_sized == true, true ==> as_float is an integer */ + }, + + /* test_result[414]: 4294967295.2e2 */ + { + true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ + + "4294967295.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "4294967295.2e2", /* first whitespace character */ + + 14, /* length of as_str */ + 14, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + + false, /* true ==> value < 0 */ + + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -38622,26 +38263,116 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - 4294967296, /* JSON floating point value in float form */ + 429496729600, /* JSON floating point value in float form */ true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 4294967295, /* JSON floating point value in double form */ + 429496729520, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 4294967295L, /* JSON floating point value in long double form */ + 429496729520L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[410]: 4294967295.1 */ + /* test_result[415]: 4294967295.2E-4 */ { + true, /* true ==> able to parse JSON number string */ true, /* true ==> able to convert JSON number string to some form of C value */ + "4294967295.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "4294967295.2E-4", /* first whitespace character */ + + 15, /* length of as_str */ + 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + + false, /* true ==> value < 0 */ + + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ + false, /* true ==> integer conversion success, false ==> no integer conversion */ + + /* integer values */ + + false, /* true ==> converted JSON integer to C int8_t */ + 0, /* no JSON integer value in int8_t form */ + + false, /* true ==> converted JSON integer to C uint8_t */ + 0, /* no JSON integer value in uint8_t form */ + + false, /* true ==> converted JSON integer to C int16_t */ + 0, /* no JSON integer value in int16_t form */ + + false, /* true ==> converted JSON integer to C uint16_t */ + 0, /* no JSON integer value in uint16_t form */ + + false, /* true ==> converted JSON integer to C int32_t */ + 0, /* no JSON integer value in int32_t form */ + + false, /* true ==> converted JSON integer to C uint32_t */ + 0, /* no JSON integer value in uint32_t form */ + + false, /* true ==> converted JSON integer to C int64_t */ + 0, /* no JSON integer value in int64_t form */ + + false, /* true ==> converted JSON integer to C uint64_t */ + 0, /* no JSON integer value in uint64_t form */ + + false, /* true ==> converted JSON integer to C int */ + 0, /* no JSON integer value in int form */ + + false, /* true ==> converted JSON integer to C unsigned int */ + 0, /* no JSON integer value in unsigned int form */ + + false, /* true ==> converted JSON integer to C long */ + 0, /* no JSON integer value in long form */ + + false, /* true ==> converted JSON integer to C unsigned long */ + 0, /* no JSON integer value in unsigned long form */ + + false, /* true ==> converted JSON integer to C long long */ + 0, /* no JSON integer value in long long form */ + + false, /* true ==> converted JSON integer to C unsigned long long */ + 0, /* no JSON integer value in unsigned long long form */ + + false, /* true ==> converted JSON integer to C ssize_t */ + 0, /* no JSON integer value in ssize_t form */ + + false, /* true ==> converted JSON integer to C size_t */ + 0, /* no JSON integer value in size_t form */ + + false, /* true ==> converted JSON integer to C off_t */ + 0, /* no JSON integer value in off_t form */ + + false, /* true ==> converted JSON integer to C intmax_t */ + 0, /* no JSON integer value in intmax_t form */ + + false, /* true ==> converted JSON integer to C uintmax_t */ + 0, /* no JSON integer value in uintmax_t form */ + + /* floating point values */ + + true, /* true ==> converted JSON floating point to C float */ + 429496.71875, /* JSON floating point value in float form */ + false, /* if float_sized == true, true ==> as_float is an integer */ + + true, /* true ==> converted JSON floating point to C double */ + 429496.7295199999934994, /* JSON floating point value in double form */ + false, /* if double_sized == true, true ==> as_double is an integer */ + + true, /* true ==> converted JSON floating point to C long double */ + 429496.7295199999934994L, /* JSON floating point value in long double form */ + false, /* if float_sized == true, true ==> as_float is an integer */ + }, + + /* test_result[416]: 4294967296.0 */ + { true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "4294967295.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "4294967295.1", /* first whitespace character */ + "4294967296.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "4294967296.0", /* first whitespace character */ 12, /* length of as_str */ 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -38650,10 +38381,100 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ + false, /* true ==> integer conversion success, false ==> no integer conversion */ /* integer values */ + + false, /* true ==> converted JSON integer to C int8_t */ + 0, /* no JSON integer value in int8_t form */ + + false, /* true ==> converted JSON integer to C uint8_t */ + 0, /* no JSON integer value in uint8_t form */ + + false, /* true ==> converted JSON integer to C int16_t */ + 0, /* no JSON integer value in int16_t form */ + + false, /* true ==> converted JSON integer to C uint16_t */ + 0, /* no JSON integer value in uint16_t form */ + + false, /* true ==> converted JSON integer to C int32_t */ + 0, /* no JSON integer value in int32_t form */ + + false, /* true ==> converted JSON integer to C uint32_t */ + 0, /* no JSON integer value in uint32_t form */ + + false, /* true ==> converted JSON integer to C int64_t */ + 0, /* no JSON integer value in int64_t form */ + + false, /* true ==> converted JSON integer to C uint64_t */ + 0, /* no JSON integer value in uint64_t form */ + + false, /* true ==> converted JSON integer to C int */ + 0, /* no JSON integer value in int form */ + + false, /* true ==> converted JSON integer to C unsigned int */ + 0, /* no JSON integer value in unsigned int form */ + + false, /* true ==> converted JSON integer to C long */ + 0, /* no JSON integer value in long form */ + + false, /* true ==> converted JSON integer to C unsigned long */ + 0, /* no JSON integer value in unsigned long form */ + + false, /* true ==> converted JSON integer to C long long */ + 0, /* no JSON integer value in long long form */ + + false, /* true ==> converted JSON integer to C unsigned long long */ + 0, /* no JSON integer value in unsigned long long form */ + + false, /* true ==> converted JSON integer to C ssize_t */ + 0, /* no JSON integer value in ssize_t form */ + + false, /* true ==> converted JSON integer to C size_t */ + 0, /* no JSON integer value in size_t form */ + + false, /* true ==> converted JSON integer to C off_t */ + 0, /* no JSON integer value in off_t form */ + + false, /* true ==> converted JSON integer to C intmax_t */ + 0, /* no JSON integer value in intmax_t form */ + + false, /* true ==> converted JSON integer to C uintmax_t */ + 0, /* no JSON integer value in uintmax_t form */ + + /* floating point values */ + + true, /* true ==> converted JSON floating point to C float */ + 4294967296, /* JSON floating point value in float form */ + true, /* if float_sized == true, true ==> as_float is an integer */ + + true, /* true ==> converted JSON floating point to C double */ + 4294967296, /* JSON floating point value in double form */ + true, /* if double_sized == true, true ==> as_double is an integer */ + + true, /* true ==> converted JSON floating point to C long double */ + 4294967296L, /* JSON floating point value in long double form */ + true, /* if float_sized == true, true ==> as_float is an integer */ + }, + + /* test_result[417]: 4294967296.1 */ + { + true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ + + "4294967296.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "4294967296.1", /* first whitespace character */ + + 12, /* length of as_str */ + 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + + false, /* true ==> value < 0 */ + + true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ + false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -38719,22 +38540,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 4294967295.099999904633, /* JSON floating point value in double form */ + 4294967296.10000038147, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 4294967295.099999904633L, /* JSON floating point value in long double form */ + 4294967296.10000038147L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[411]: 4294967295.2e2 */ + /* test_result[418]: 4294967296.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "4294967295.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "4294967295.2e2", /* first whitespace character */ + "4294967296.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "4294967296.2e2", /* first whitespace character */ 14, /* length of as_str */ 14, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -38743,10 +38563,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -38812,22 +38631,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 429496729520, /* JSON floating point value in double form */ + 429496729620, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 429496729520L, /* JSON floating point value in long double form */ + 429496729620L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[412]: 4294967295.2E-4 */ + /* test_result[419]: 4294967296.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "4294967295.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "4294967295.2E-4", /* first whitespace character */ + "4294967296.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "4294967296.2E-4", /* first whitespace character */ 15, /* length of as_str */ 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -38836,10 +38654,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -38905,22 +38722,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 429496.7295199999934994, /* JSON floating point value in double form */ + 429496.7296199999982491, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 429496.7295199999934994L, /* JSON floating point value in long double form */ + 429496.7296199999982491L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[413]: 4294967296.0 */ + /* test_result[420]: 4294967297.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "4294967296.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "4294967296.0", /* first whitespace character */ + "4294967297.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "4294967297.0", /* first whitespace character */ 12, /* length of as_str */ 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -38929,10 +38745,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -38998,22 +38813,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 4294967296, /* JSON floating point value in double form */ + 4294967297, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 4294967296L, /* JSON floating point value in long double form */ + 4294967297L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[414]: 4294967296.1 */ + /* test_result[421]: 4294967297.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "4294967296.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "4294967296.1", /* first whitespace character */ + "4294967297.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "4294967297.1", /* first whitespace character */ 12, /* length of as_str */ 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -39022,10 +38836,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -39091,22 +38904,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 4294967296.10000038147, /* JSON floating point value in double form */ + 4294967297.10000038147, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 4294967296.10000038147L, /* JSON floating point value in long double form */ + 4294967297.10000038147L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[415]: 4294967296.2e2 */ + /* test_result[422]: 4294967297.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "4294967296.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "4294967296.2e2", /* first whitespace character */ + "4294967297.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "4294967297.2e2", /* first whitespace character */ 14, /* length of as_str */ 14, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -39115,10 +38927,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -39184,22 +38995,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 429496729620, /* JSON floating point value in double form */ + 429496729720, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 429496729620L, /* JSON floating point value in long double form */ + 429496729720L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[416]: 4294967296.2E-4 */ + /* test_result[423]: 4294967297.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "4294967296.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "4294967296.2E-4", /* first whitespace character */ + "4294967297.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "4294967297.2E-4", /* first whitespace character */ 15, /* length of as_str */ 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -39208,10 +39018,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -39277,22 +39086,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 429496.7296199999982491, /* JSON floating point value in double form */ + 429496.7297200000029989, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 429496.7296199999982491L, /* JSON floating point value in long double form */ + 429496.7297200000029989L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[417]: 4294967297.0 */ + /* test_result[424]: 4294967298.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "4294967297.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "4294967297.0", /* first whitespace character */ + "4294967298.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "4294967298.0", /* first whitespace character */ 12, /* length of as_str */ 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -39301,10 +39109,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -39370,22 +39177,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 4294967297, /* JSON floating point value in double form */ + 4294967298, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 4294967297L, /* JSON floating point value in long double form */ + 4294967298L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[418]: 4294967297.1 */ + /* test_result[425]: 4294967298.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "4294967297.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "4294967297.1", /* first whitespace character */ + "4294967298.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "4294967298.1", /* first whitespace character */ 12, /* length of as_str */ 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -39394,10 +39200,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -39463,22 +39268,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 4294967297.10000038147, /* JSON floating point value in double form */ + 4294967298.10000038147, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 4294967297.10000038147L, /* JSON floating point value in long double form */ + 4294967298.10000038147L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[419]: 4294967297.2e2 */ + /* test_result[426]: 4294967298.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "4294967297.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "4294967297.2e2", /* first whitespace character */ + "4294967298.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "4294967298.2e2", /* first whitespace character */ 14, /* length of as_str */ 14, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -39487,10 +39291,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -39556,22 +39359,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 429496729720, /* JSON floating point value in double form */ + 429496729820, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 429496729720L, /* JSON floating point value in long double form */ + 429496729820L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[420]: 4294967297.2E-4 */ + /* test_result[427]: 4294967298.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "4294967297.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "4294967297.2E-4", /* first whitespace character */ + "4294967298.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "4294967298.2E-4", /* first whitespace character */ 15, /* length of as_str */ 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -39580,10 +39382,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -39649,22 +39450,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 429496.7297200000029989, /* JSON floating point value in double form */ + 429496.7298200000077486, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 429496.7297200000029989L, /* JSON floating point value in long double form */ + 429496.7298200000077486L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[421]: 4294967298.0 */ + /* test_result[428]: 8589934590.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "4294967298.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "4294967298.0", /* first whitespace character */ + "8589934590.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "8589934590.0", /* first whitespace character */ 12, /* length of as_str */ 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -39673,10 +39473,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -39738,26 +39537,25 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - 4294967296, /* JSON floating point value in float form */ + 8589934592, /* JSON floating point value in float form */ true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 4294967298, /* JSON floating point value in double form */ + 8589934590, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 4294967298L, /* JSON floating point value in long double form */ + 8589934590L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[422]: 4294967298.1 */ + /* test_result[429]: 8589934590.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "4294967298.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "4294967298.1", /* first whitespace character */ + "8589934590.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "8589934590.1", /* first whitespace character */ 12, /* length of as_str */ 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -39766,10 +39564,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -39831,26 +39628,25 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - 4294967296, /* JSON floating point value in float form */ + 8589934592, /* JSON floating point value in float form */ false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 4294967298.10000038147, /* JSON floating point value in double form */ + 8589934590.10000038147, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 4294967298.10000038147L, /* JSON floating point value in long double form */ + 8589934590.10000038147L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[423]: 4294967298.2e2 */ + /* test_result[430]: 8589934590.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "4294967298.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "4294967298.2e2", /* first whitespace character */ + "8589934590.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "8589934590.2e2", /* first whitespace character */ 14, /* length of as_str */ 14, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -39859,10 +39655,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -39924,26 +39719,25 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - 429496729600, /* JSON floating point value in float form */ + 858993459200, /* JSON floating point value in float form */ true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 429496729820, /* JSON floating point value in double form */ + 858993459020, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 429496729820L, /* JSON floating point value in long double form */ + 858993459020L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[424]: 4294967298.2E-4 */ + /* test_result[431]: 8589934590.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "4294967298.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "4294967298.2E-4", /* first whitespace character */ + "8589934590.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "8589934590.2E-4", /* first whitespace character */ 15, /* length of as_str */ 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -39952,10 +39746,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -40017,26 +39810,25 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ true, /* true ==> converted JSON floating point to C float */ - 429496.71875, /* JSON floating point value in float form */ + 858993.4375, /* JSON floating point value in float form */ false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 429496.7298200000077486, /* JSON floating point value in double form */ + 858993.4590199999511242, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 429496.7298200000077486L, /* JSON floating point value in long double form */ + 858993.4590199999511242L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[425]: 8589934590.0 */ + /* test_result[432]: 8589934591.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "8589934590.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "8589934590.0", /* first whitespace character */ + "8589934591.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "8589934591.0", /* first whitespace character */ 12, /* length of as_str */ 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -40045,10 +39837,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -40114,22 +39905,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 8589934590, /* JSON floating point value in double form */ + 8589934591, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 8589934590L, /* JSON floating point value in long double form */ + 8589934591L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[426]: 8589934590.1 */ + /* test_result[433]: 8589934591.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "8589934590.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "8589934590.1", /* first whitespace character */ + "8589934591.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "8589934591.1", /* first whitespace character */ 12, /* length of as_str */ 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -40138,10 +39928,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -40207,22 +39996,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 8589934590.10000038147, /* JSON floating point value in double form */ + 8589934591.10000038147, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 8589934590.10000038147L, /* JSON floating point value in long double form */ + 8589934591.10000038147L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[427]: 8589934590.2e2 */ + /* test_result[434]: 8589934591.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "8589934590.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "8589934590.2e2", /* first whitespace character */ + "8589934591.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "8589934591.2e2", /* first whitespace character */ 14, /* length of as_str */ 14, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -40231,10 +40019,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -40300,22 +40087,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 858993459020, /* JSON floating point value in double form */ + 858993459120, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 858993459020L, /* JSON floating point value in long double form */ + 858993459120L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[428]: 8589934590.2E-4 */ + /* test_result[435]: 8589934591.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "8589934590.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "8589934590.2E-4", /* first whitespace character */ + "8589934591.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "8589934591.2E-4", /* first whitespace character */ 15, /* length of as_str */ 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -40324,10 +40110,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -40393,22 +40178,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 858993.4590199999511242, /* JSON floating point value in double form */ + 858993.4591200000140816, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 858993.4590199999511242L, /* JSON floating point value in long double form */ + 858993.4591200000140816L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[429]: 8589934591.0 */ + /* test_result[436]: 8589934592.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "8589934591.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "8589934591.0", /* first whitespace character */ + "8589934592.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "8589934592.0", /* first whitespace character */ 12, /* length of as_str */ 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -40417,10 +40201,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -40486,22 +40269,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 8589934591, /* JSON floating point value in double form */ + 8589934592, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 8589934591L, /* JSON floating point value in long double form */ + 8589934592L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[430]: 8589934591.1 */ + /* test_result[437]: 8589934592.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "8589934591.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "8589934591.1", /* first whitespace character */ + "8589934592.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "8589934592.1", /* first whitespace character */ 12, /* length of as_str */ 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -40510,10 +40292,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -40579,22 +40360,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 8589934591.10000038147, /* JSON floating point value in double form */ + 8589934592.10000038147, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 8589934591.10000038147L, /* JSON floating point value in long double form */ + 8589934592.10000038147L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[431]: 8589934591.2e2 */ + /* test_result[438]: 8589934592.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "8589934591.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "8589934591.2e2", /* first whitespace character */ + "8589934592.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "8589934592.2e2", /* first whitespace character */ 14, /* length of as_str */ 14, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -40603,10 +40383,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -40672,22 +40451,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 858993459120, /* JSON floating point value in double form */ + 858993459220, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 858993459120L, /* JSON floating point value in long double form */ + 858993459220L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[432]: 8589934591.2E-4 */ + /* test_result[439]: 8589934592.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "8589934591.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "8589934591.2E-4", /* first whitespace character */ + "8589934592.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "8589934592.2E-4", /* first whitespace character */ 15, /* length of as_str */ 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -40696,10 +40474,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -40765,22 +40542,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 858993.4591200000140816, /* JSON floating point value in double form */ + 858993.4592199999606237, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 858993.4591200000140816L, /* JSON floating point value in long double form */ + 858993.4592199999606237L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[433]: 8589934592.0 */ + /* test_result[440]: 8589934593.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "8589934592.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "8589934592.0", /* first whitespace character */ + "8589934593.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "8589934593.0", /* first whitespace character */ 12, /* length of as_str */ 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -40789,10 +40565,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -40858,22 +40633,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 8589934592, /* JSON floating point value in double form */ + 8589934593, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 8589934592L, /* JSON floating point value in long double form */ + 8589934593L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[434]: 8589934592.1 */ + /* test_result[441]: 8589934593.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "8589934592.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "8589934592.1", /* first whitespace character */ + "8589934593.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "8589934593.1", /* first whitespace character */ 12, /* length of as_str */ 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -40882,10 +40656,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -40951,22 +40724,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 8589934592.10000038147, /* JSON floating point value in double form */ + 8589934593.10000038147, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 8589934592.10000038147L, /* JSON floating point value in long double form */ + 8589934593.10000038147L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[435]: 8589934592.2e2 */ + /* test_result[442]: 8589934593.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "8589934592.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "8589934592.2e2", /* first whitespace character */ + "8589934593.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "8589934593.2e2", /* first whitespace character */ 14, /* length of as_str */ 14, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -40975,10 +40747,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -41044,22 +40815,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 858993459220, /* JSON floating point value in double form */ + 858993459320, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 858993459220L, /* JSON floating point value in long double form */ + 858993459320L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[436]: 8589934592.2E-4 */ + /* test_result[443]: 8589934593.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "8589934592.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "8589934592.2E-4", /* first whitespace character */ + "8589934593.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "8589934593.2E-4", /* first whitespace character */ 15, /* length of as_str */ 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -41068,10 +40838,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -41137,22 +40906,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 858993.4592199999606237, /* JSON floating point value in double form */ + 858993.4593200000235811, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 858993.4592199999606237L, /* JSON floating point value in long double form */ + 858993.4593200000235811L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[437]: 8589934593.0 */ + /* test_result[444]: 8589934594.0 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "8589934593.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "8589934593.0", /* first whitespace character */ + "8589934594.0", /* allocated copy of the original allocated JSON number, NUL terminated */ + "8589934594.0", /* first whitespace character */ 12, /* length of as_str */ 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -41161,10 +40929,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -41230,22 +40997,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 8589934593, /* JSON floating point value in double form */ + 8589934594, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 8589934593L, /* JSON floating point value in long double form */ + 8589934594L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[438]: 8589934593.1 */ + /* test_result[445]: 8589934594.1 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "8589934593.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "8589934593.1", /* first whitespace character */ + "8589934594.1", /* allocated copy of the original allocated JSON number, NUL terminated */ + "8589934594.1", /* first whitespace character */ 12, /* length of as_str */ 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -41254,10 +41020,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -41323,22 +41088,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 8589934593.10000038147, /* JSON floating point value in double form */ + 8589934594.10000038147, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 8589934593.10000038147L, /* JSON floating point value in long double form */ + 8589934594.10000038147L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[439]: 8589934593.2e2 */ + /* test_result[446]: 8589934594.2e2 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "8589934593.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "8589934593.2e2", /* first whitespace character */ + "8589934594.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ + "8589934594.2e2", /* first whitespace character */ 14, /* length of as_str */ 14, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -41347,10 +41111,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -41416,22 +41179,21 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 858993459320, /* JSON floating point value in double form */ + 858993459420, /* JSON floating point value in double form */ true, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 858993459320L, /* JSON floating point value in long double form */ + 858993459420L, /* JSON floating point value in long double form */ true, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[440]: 8589934593.2E-4 */ + /* test_result[447]: 8589934594.2E-4 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + true, /* true ==> able to convert JSON number string to some form of C value */ - "8589934593.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "8589934593.2E-4", /* first whitespace character */ + "8589934594.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ + "8589934594.2E-4", /* first whitespace character */ 15, /* length of as_str */ 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -41440,10 +41202,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -41509,22 +41270,21 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* if float_sized == true, true ==> as_float is an integer */ true, /* true ==> converted JSON floating point to C double */ - 858993.4593200000235811, /* JSON floating point value in double form */ + 858993.4594199999701232, /* JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ true, /* true ==> converted JSON floating point to C long double */ - 858993.4593200000235811L, /* JSON floating point value in long double form */ + 858993.4594199999701232L, /* JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[441]: 8589934594.0 */ + /* test_result[448]: 1e1000000000 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + false, /* true ==> able to convert JSON number string to some form of C value */ - "8589934594.0", /* allocated copy of the original allocated JSON number, NUL terminated */ - "8589934594.0", /* first whitespace character */ + "1e1000000000", /* allocated copy of the original allocated JSON number, NUL terminated */ + "1e1000000000", /* first whitespace character */ 12, /* length of as_str */ 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -41532,104 +41292,10 @@ struct json_number test_result[TEST_COUNT+1] = { false, /* true ==> value < 0 */ true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ - false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ + true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ false, /* true ==> integer conversion success, false ==> no integer conversion */ - - false, /* true ==> converted JSON integer to C int8_t */ - 0, /* no JSON integer value in int8_t form */ - - false, /* true ==> converted JSON integer to C uint8_t */ - 0, /* no JSON integer value in uint8_t form */ - - false, /* true ==> converted JSON integer to C int16_t */ - 0, /* no JSON integer value in int16_t form */ - - false, /* true ==> converted JSON integer to C uint16_t */ - 0, /* no JSON integer value in uint16_t form */ - - false, /* true ==> converted JSON integer to C int32_t */ - 0, /* no JSON integer value in int32_t form */ - - false, /* true ==> converted JSON integer to C uint32_t */ - 0, /* no JSON integer value in uint32_t form */ - - false, /* true ==> converted JSON integer to C int64_t */ - 0, /* no JSON integer value in int64_t form */ - - false, /* true ==> converted JSON integer to C uint64_t */ - 0, /* no JSON integer value in uint64_t form */ - - false, /* true ==> converted JSON integer to C int */ - 0, /* no JSON integer value in int form */ - - false, /* true ==> converted JSON integer to C unsigned int */ - 0, /* no JSON integer value in unsigned int form */ - - false, /* true ==> converted JSON integer to C long */ - 0, /* no JSON integer value in long form */ - - false, /* true ==> converted JSON integer to C unsigned long */ - 0, /* no JSON integer value in unsigned long form */ - - false, /* true ==> converted JSON integer to C long long */ - 0, /* no JSON integer value in long long form */ - - false, /* true ==> converted JSON integer to C unsigned long long */ - 0, /* no JSON integer value in unsigned long long form */ - - false, /* true ==> converted JSON integer to C ssize_t */ - 0, /* no JSON integer value in ssize_t form */ - - false, /* true ==> converted JSON integer to C size_t */ - 0, /* no JSON integer value in size_t form */ - - false, /* true ==> converted JSON integer to C off_t */ - 0, /* no JSON integer value in off_t form */ - - false, /* true ==> converted JSON integer to C intmax_t */ - 0, /* no JSON integer value in intmax_t form */ - - false, /* true ==> converted JSON integer to C uintmax_t */ - 0, /* no JSON integer value in uintmax_t form */ - - /* floating point values */ - - true, /* true ==> converted JSON floating point to C float */ - 8589934592, /* JSON floating point value in float form */ - true, /* if float_sized == true, true ==> as_float is an integer */ - - true, /* true ==> converted JSON floating point to C double */ - 8589934594, /* JSON floating point value in double form */ - true, /* if double_sized == true, true ==> as_double is an integer */ - - true, /* true ==> converted JSON floating point to C long double */ - 8589934594L, /* JSON floating point value in long double form */ - true, /* if float_sized == true, true ==> as_float is an integer */ - }, - - /* test_result[442]: 8589934594.1 */ - { - true, /* true ==> able to convert JSON number string to some form of C value */ - - true, /* true ==> able to parse JSON number string */ - - "8589934594.1", /* allocated copy of the original allocated JSON number, NUL terminated */ - "8589934594.1", /* first whitespace character */ - - 12, /* length of as_str */ - 12, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ - - false, /* true ==> value < 0 */ - - true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ - false, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - /* integer values */ - false, /* true ==> integer conversion success, false ==> no integer conversion */ - false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -41690,27 +41356,26 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - true, /* true ==> converted JSON floating point to C float */ - 8589934592, /* JSON floating point value in float form */ + false, /* true ==> converted JSON floating point to C float */ + 0, /* no JSON floating point value in float form */ false, /* if float_sized == true, true ==> as_float is an integer */ - true, /* true ==> converted JSON floating point to C double */ - 8589934594.10000038147, /* JSON floating point value in double form */ + false, /* true ==> converted JSON floating point to C double */ + 0, /* no JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ - true, /* true ==> converted JSON floating point to C long double */ - 8589934594.10000038147L, /* JSON floating point value in long double form */ + false, /* true ==> converted JSON floating point to C long double */ + 0, /* no JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[443]: 8589934594.2e2 */ + /* test_result[449]: 1.0e1000000000 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + false, /* true ==> able to convert JSON number string to some form of C value */ - "8589934594.2e2", /* allocated copy of the original allocated JSON number, NUL terminated */ - "8589934594.2e2", /* first whitespace character */ + "1.0e1000000000", /* allocated copy of the original allocated JSON number, NUL terminated */ + "1.0e1000000000", /* first whitespace character */ 14, /* length of as_str */ 14, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ @@ -41719,10 +41384,9 @@ struct json_number test_result[TEST_COUNT+1] = { true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -41783,39 +41447,37 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - true, /* true ==> converted JSON floating point to C float */ - 858993459200, /* JSON floating point value in float form */ - true, /* if float_sized == true, true ==> as_float is an integer */ + false, /* true ==> converted JSON floating point to C float */ + 0, /* no JSON floating point value in float form */ + false, /* if float_sized == true, true ==> as_float is an integer */ - true, /* true ==> converted JSON floating point to C double */ - 858993459420, /* JSON floating point value in double form */ - true, /* if double_sized == true, true ==> as_double is an integer */ + false, /* true ==> converted JSON floating point to C double */ + 0, /* no JSON floating point value in double form */ + false, /* if double_sized == true, true ==> as_double is an integer */ - true, /* true ==> converted JSON floating point to C long double */ - 858993459420L, /* JSON floating point value in long double form */ - true, /* if float_sized == true, true ==> as_float is an integer */ + false, /* true ==> converted JSON floating point to C long double */ + 0, /* no JSON floating point value in long double form */ + false, /* if float_sized == true, true ==> as_float is an integer */ }, - /* test_result[444]: 8589934594.2E-4 */ + /* test_result[450]: 1e10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 */ { - true, /* true ==> able to convert JSON number string to some form of C value */ - true, /* true ==> able to parse JSON number string */ + false, /* true ==> able to convert JSON number string to some form of C value */ - "8589934594.2E-4", /* allocated copy of the original allocated JSON number, NUL terminated */ - "8589934594.2E-4", /* first whitespace character */ + "1e10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", /* allocated copy of the original allocated JSON number, NUL terminated */ + "1e10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", /* first whitespace character */ - 15, /* length of as_str */ - 15, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ + 103, /* length of as_str */ + 103, /* length of JSON number, w/o leading or trailing whitespace and NUL bytes */ false, /* true ==> value < 0 */ true, /* true ==> as_str had a '.' in it such as 1.234, false ==> no '.' found */ true, /* true ==> e notation used such as 1e10, false ==> no e notation found */ - - /* integer values */ false, /* true ==> integer conversion success, false ==> no integer conversion */ + /* integer values */ false, /* true ==> converted JSON integer to C int8_t */ 0, /* no JSON integer value in int8_t form */ @@ -41876,16 +41538,16 @@ struct json_number test_result[TEST_COUNT+1] = { /* floating point values */ - true, /* true ==> converted JSON floating point to C float */ - 858993.4375, /* JSON floating point value in float form */ + false, /* true ==> converted JSON floating point to C float */ + 0, /* no JSON floating point value in float form */ false, /* if float_sized == true, true ==> as_float is an integer */ - true, /* true ==> converted JSON floating point to C double */ - 858993.4594199999701232, /* JSON floating point value in double form */ + false, /* true ==> converted JSON floating point to C double */ + 0, /* no JSON floating point value in double form */ false, /* if double_sized == true, true ==> as_double is an integer */ - true, /* true ==> converted JSON floating point to C long double */ - 858993.4594199999701232L, /* JSON floating point value in long double form */ + false, /* true ==> converted JSON floating point to C long double */ + 0, /* no JSON floating point value in long double form */ false, /* if float_sized == true, true ==> as_float is an integer */ },