Commit Graph

657 Commits

Author SHA1 Message Date
Benoit Blanchon
52d8a65cbc Fix compatibility with the Blynk libary (fixes #1914) 2023-04-18 15:13:41 +02:00
Benoit Blanchon
420221f078 Set version to 6.21.2 2023-04-12 14:35:25 +02:00
Benoit Blanchon
082ae69e86 Set default for ARDUINOJSON_ENABLE_PROGMEM to 1 on AVR 2023-04-12 11:42:02 +02:00
Benoit Blanchon
40daf56b5a Allow using PROGMEM outside of Arduino (fixes #1903) 2023-04-07 18:19:33 +02:00
Benoit Blanchon
31ce648e63 Change naming convention from _member to member_ (fixes #1905) 2023-04-07 09:02:23 +02:00
Benoit Blanchon
cb850bc1b1 Set version to 6.21.1 2023-03-27 14:05:53 +02:00
Benoit Blanchon
9e9015f4b9 Fix compatibility with GCC 5.2 (fixes #1897) 2023-03-27 11:00:20 +02:00
Benoit Blanchon
9bb3f4051d Double speed of DynamicJsonDocument::garbageCollect() 2023-03-20 12:32:52 +01:00
Benoit Blanchon
5edd435fe9 Add a constructor to VariantData 2023-03-20 10:14:54 +01:00
Benoit Blanchon
de9239caab Set version to 6.21.0 2023-03-14 21:05:56 +01:00
Benoit Blanchon
c89a2025ce Make string support generic (issue #1807) 2023-03-13 12:19:05 +01:00
Benoit Blanchon
42ae8c3037 Remove negativeBinaryPowersOfTenPlusOne 2023-02-22 15:42:10 +01:00
Benoit Blanchon
319ececf26 Keep only one implementation of make_float() 2023-02-22 15:42:10 +01:00
Benoit Blanchon
886254c41e Reduce size of make_float() 2023-02-22 15:42:10 +01:00
Benoit Blanchon
4e7099dc73 Add pgm_ptr<T> 2023-02-22 15:42:10 +01:00
Benoit Blanchon
26948cb83a Use 64-bits literals to forge 64-bits literals 2023-02-22 11:40:15 +01:00
Benoit Blanchon
0f8698e655 Replace ARDUINOJSON_EXPANDX with variadic macros (#1820) 2023-02-22 11:24:51 +01:00
Benoit Blanchon
b2b995edb3 Use delete instead of hiding copy constructors and assignments (#1820) 2023-02-17 10:59:57 +01:00
Benoit Blanchon
33a4773fbd Set clang-format standard to C++11 (#1820) 2023-02-16 11:51:02 +01:00
Benoit Blanchon
daa87e12dc Update copyright notice 2023-02-16 11:45:01 +01:00
Benoit Blanchon
5abf512276 Reduce number of overloads of deserializeJson() and deserializeMsgPack() (#1820) 2023-02-16 11:17:15 +01:00
Benoit Blanchon
0dd4a68913 Use only letters to encode configuration in the namespace 2023-02-14 10:04:49 +01:00
Benoit Blanchon
8971127b66 Fix build on GCC 6 2023-02-14 10:04:49 +01:00
Benoit Blanchon
1b66a217bf Replace ARDUINOJSON_NAMESPACE with an inline namespace (#1820) 2023-02-14 10:04:48 +01:00
Benoit Blanchon
34dd46110b Remove safe bool idiom (#1820) 2023-02-13 11:12:41 +01:00
Benoit Blanchon
8f7211a50f Remove ARDUINOJSON_HAS_NULLPTR (#1820) 2023-02-10 17:02:52 +01:00
Benoit Blanchon
2be4ee732a Remove ARDUINOJSON_HAS_RVALUE_REFERENCES (#1820) 2023-02-10 17:02:52 +01:00
Benoit Blanchon
3bdedc9a2f Remove ARDUINOJSON_HAS_LONG_LONG (#1820) 2023-02-10 17:02:52 +01:00
Benoit Blanchon
f699954f4d Remove support for __int64 (#1820) 2023-02-10 17:02:52 +01:00
Benoit Blanchon
407fc2cd45 Drop support for C++98/C++03 (closes #1820) 2023-02-10 17:02:52 +01:00
Benoit Blanchon
91fe6dcae8 Fix clang-tidy warning "Called C++ object pointer is null" 2023-02-10 17:02:51 +01:00
Benoit Blanchon
62dea9d364 Reformat CMake files 2023-02-10 17:02:51 +01:00
Benoit Blanchon
669ee4dfe3 Set minimum GCC version to 6 (#1820) 2023-02-10 17:02:33 +01:00
Benoit Blanchon
e054cba610 Set minimum Visual Studio version to 2017 (#1820) 2023-02-10 14:49:24 +01:00
Benoit Blanchon
3d8287265c Remove unused NOEXCEPT macro 2023-02-09 19:06:36 +01:00
Benoit Blanchon
b33966c755 Set version to 6.20.1 2023-02-08 16:42:04 +01:00
Benoit Blanchon
34b38e07c7 Deduce template argument of pgm_read() 2023-01-26 18:10:41 +01:00
Benoit Blanchon
1ec16ca94f Use pgm_read() instead of ARDUINOJSON_READ_STATIC_ARRAY 2023-01-26 14:55:46 +01:00
Benoit Blanchon
b350a96643 Remove explicit exclusion of as<char*>() and as<char>() (#1860)
If you try to call them, you'll now get the same error message as any unsupported type.
You could also add a custom converter for `char*` and `char`.
2023-01-18 22:10:37 +01:00
Benoit Blanchon
5094b84a46 Set version to 6.20.0 2022-12-26 17:35:54 +01:00
Benoit Blanchon
191fc5dff4 Remove support for naked char (was deprecated since 6.18.0) 2022-12-26 11:02:34 +01:00
Benoit Blanchon
cb9c90f2d0 Mark adapter's storagePolicy() as const 2022-12-26 10:23:48 +01:00
Benoit Blanchon
09f9bd6b8b Fix detection of char types 2022-12-26 10:21:57 +01:00
Benoit Blanchon
ac8e5f01db Clang-Format: set AllowShortLoopsOnASingleLine to false 2022-12-24 15:48:00 +01:00
Benoit Blanchon
de725e0a4e Add documentation to most public symbols 2022-12-21 19:20:51 +01:00
Benoit Blanchon
b0730f04f7 Rename VariantRef to JsonVariant 2022-12-19 14:41:53 +01:00
Benoit Blanchon
ef8ed28aec Rename VariantConstRef to JsonVariantConst 2022-12-19 14:41:43 +01:00
Benoit Blanchon
b8eff868e6 Rename String to JsonString 2022-12-19 14:41:43 +01:00
Benoit Blanchon
d0b619ea93 Rename UInt to JsonUInt 2022-12-19 14:41:43 +01:00
Benoit Blanchon
652d70fe2c Rename Integer to JsonInteger 2022-12-19 14:41:43 +01:00