31 Commits

Author SHA1 Message Date
Benoit Blanchon 2273e641b9 Fix buffer overrun in make_float()
Fixes #2220
2026-03-02 19:26:28 +01:00
Benoit Blanchon 7fb0e2f326 Update copyright year 2026-03-02 19:25:22 +01:00
Benoit Blanchon 1f7a3f3174 JsonDeserializer: use float when the value has few digits 2024-09-04 14:33:14 +02:00
Benoit Blanchon fd6314e132 Move some numbers tests to use_double_0.cpp 2024-09-04 14:29:19 +02:00
Benoit Blanchon e4e2557b76 Move test of decomposeFloat() 2024-09-03 13:27:39 +02:00
Benoit Blanchon 4ada3f849c Decouple parseNumber() from VariantData 2024-08-25 16:46:55 +02:00
Benoit Blanchon 0e8a236583 Update copyright year 2024-01-03 08:47:06 +01:00
Benoit Blanchon 5edd435fe9 Add a constructor to VariantData 2023-03-20 10:14:54 +01:00
Benoit Blanchon daa87e12dc Update copyright notice 2023-02-16 11:45:01 +01:00
Benoit Blanchon 1b66a217bf Replace ARDUINOJSON_NAMESPACE with an inline namespace (#1820) 2023-02-14 10:04:48 +01:00
Benoit Blanchon 3bdedc9a2f Remove ARDUINOJSON_HAS_LONG_LONG (#1820) 2023-02-10 17:02:52 +01:00
Benoit Blanchon 62dea9d364 Reformat CMake files 2023-02-10 17:02:51 +01:00
Benoit Blanchon 007b4f3362 Update Catch library to 2.13.10 (#1820) 2023-02-10 17:02:51 +01:00
Benoit Blanchon 94b2b3f9ce Run all tests with C++11 enabled (#1820) 2023-02-10 17:02:51 +01:00
Benoit Blanchon 652d70fe2c Rename Integer to JsonInteger 2022-12-19 14:41:43 +01:00
Benoit Blanchon ccfbb5fd1d Fix 9.22337e+18 outside range of representable values of type 'long' 2022-04-07 20:59:20 +02:00
Benoit Blanchon af18994deb Update copyright notice 2022-01-01 10:01:05 +01:00
Benoit Blanchon ef7579394b Fixed JsonVariant::as<unsigned>() (fixes #1601) 2021-06-30 09:58:03 +02:00
Benoit Blanchon 14639f129e CMake: added empty line at end of each file 2021-06-26 11:29:15 +02:00
Benoit Blanchon 7be0c2c650 CMake: added labels to tests 2021-04-25 11:38:19 +02:00
Benoit Blanchon fc4f5fd05f Changed integer storage from positive/negative to signed/unsigned 2021-04-14 11:45:01 +02:00
Benoit Blanchon d5d2209d09 Added "https://" prefix to all URLs so they are clickable in VS Code 2021-03-29 19:35:25 +02:00
Benoit Blanchon d7f5b56ca4 Added support for custom converters (closes #687) 2021-03-20 14:52:47 +01:00
Benoit Blanchon 97b7161d78 Update copyright notice for 2021 2021-01-25 09:14:15 +01:00
Benoit Blanchon 6d2ad4539f Simplified the implementation of parseNumber() 2020-09-04 09:23:40 +02:00
Benoit Blanchon 824b7a25ca Reduced stack usage when compiled with -Og (issue #1210)
This saves 96 bytes on ESP8266
2020-07-26 12:25:13 +02:00
Benoit Blanchon dcf7eeef28 CMake: used link_libraries() instead of target_link_libraries() 2020-05-03 10:25:38 +02:00
Benoit Blanchon 1791dccbf2 Added CMake "install" target (closes #1209) 2020-04-07 21:43:10 +02:00
Benoit Blanchon f9cfea244a Updated copyright notice 2020-01-09 15:48:38 +01:00
Benoit Blanchon 00c391320c Added support for CMake's unity builds 2019-12-24 16:42:34 +01:00
Benoit Blanchon b47ac27ac6 Moved ancillary files to extras/ (fixes #1011) 2019-09-03 15:11:05 +02:00