Commit Graph

40 Commits

Author SHA1 Message Date
00c9d8680a Remove memoryUsage() 2023-07-24 17:21:25 +02:00
1a14499612 Preallocate pool list 2023-07-21 17:57:13 +02:00
727a1013ca Recycle removed slots 2023-07-20 18:04:06 +02:00
0f319e7ca4 Remove capacity from JsonDocument's constructor 2023-07-18 09:08:55 +02:00
42b2840009 Create more memory pools as needed (resolves #1074) 2023-07-18 09:08:55 +02:00
806fa907ab Always store serialized("string") by copy (#1915) 2023-05-02 09:36:40 +02:00
e9850152a7 Tests: replace constants with sizeofString(n) 2023-04-07 14:50:54 +02:00
3f43c2b816 Remove JSON_ARRAY_SIZE(), JSON_OBJECT_SIZE(), and JSON_STRING_SIZE() 2023-03-29 19:18:06 +02:00
540901e219 Merge DynamicJsonDocument with JsonDocument 2023-03-20 14:49:51 +01:00
17a482a9b1 Remove StaticJsonDocument 2023-03-20 10:40:35 +01:00
daa87e12dc Update copyright notice 2023-02-16 11:45:01 +01:00
62dea9d364 Reformat CMake files 2023-02-10 17:02:51 +01:00
175e5b3062 Add missing semicolon (fixes #1857) 2023-01-17 08:59:45 +01:00
ac8e5f01db Clang-Format: set AllowShortLoopsOnASingleLine to false 2022-12-24 15:48:00 +01:00
8002722f3b Clang-format: set DerivePointerAlignment to false 2022-08-09 16:52:17 +02:00
c5838a876b Remove getElement(), getOrAddElement(), getMember(), and getOrAddMember() 2022-07-07 14:32:43 +02:00
ff4e837df5 Fix comparison operators for JsonArray and JsonArrayConst 2022-06-09 21:06:32 +02:00
89ed54362b Fix -Wsign-conversion on GCC 8 (fixes #1715) 2022-02-25 10:28:42 +01:00
af18994deb Update copyright notice 2022-01-01 10:01:05 +01:00
ada1f2a894 Add support for char[][] in copyArray() 2021-12-20 17:51:44 +01:00
0f529a3587 Renamed undocumented function isUndefined() to isUnbound() 2021-12-16 14:55:26 +01:00
e0cd5b6405 Increased test coverage 2021-09-12 10:13:12 +02:00
a6fc9311b4 Added JsonArray::clear() (fixes #1597) 2021-06-26 11:29:15 +02:00
14639f129e CMake: added empty line at end of each file 2021-06-26 11:29:15 +02:00
7be0c2c650 CMake: added labels to tests 2021-04-25 11:38:19 +02:00
d5d2209d09 Added "https://" prefix to all URLs so they are clickable in VS Code 2021-03-29 19:35:25 +02:00
e4ce75e20c Simplified JsonVariant::as<T>() to always return T 2021-03-08 19:33:52 +01:00
97b7161d78 Update copyright notice for 2021 2021-01-25 09:14:15 +01:00
4d7f03836c Added a test that removes an element during iteration (#1332) 2020-07-30 09:20:31 +02:00
40085609e2 Fixed copyArray() not working with MemberProxy and ElementProxy 2020-07-22 21:08:18 +02:00
ebb6d80092 Fixed copyArray() not working with String 2020-07-22 20:02:33 +02:00
04c59985a1 Inverted dependency between MemoryPool and string adapters.
Inserted a null after each raw string in the pool.
2020-07-08 09:38:27 +02:00
dcf7eeef28 CMake: used link_libraries() instead of target_link_libraries() 2020-05-03 10:25:38 +02:00
3b923b6e4e Added support for JsonDocument to copyArray() (issue #1255) 2020-05-02 10:00:08 +02:00
1791dccbf2 Added CMake "install" target (closes #1209) 2020-04-07 21:43:10 +02:00
300323cfd7 Improved coverage of JsonArray 2020-02-20 09:18:10 +01:00
d8724e0a0b Changed the array subscript to automatically add missing elements 2020-02-20 08:59:25 +01:00
f9cfea244a Updated copyright notice 2020-01-09 15:48:38 +01:00
7d1d0c4e67 Added conversion from JsonArray/JsonObject to bool 2019-09-24 09:38:00 +02:00
b47ac27ac6 Moved ancillary files to extras/ (fixes #1011) 2019-09-03 15:11:05 +02:00