Commit Graph

31 Commits

Author SHA1 Message Date
7e093ffc25 Add a pool dedicated to 8-byte values (double/int64_t/uint64_t)
This new pool replaced the "extension" slot where a secondary variant slot was used to store 8-byte values.
2025-06-26 20:48:13 +02:00
8e3286aac8 Store static strings in a dedicated pool
Because a slot id is smaller than a pointer, this change will ultimately allow reducing the slot size.
2025-06-26 20:48:13 +02:00
91397f9f06 Optimize storage of tiny strings (up to 3 characters) 2025-04-09 08:55:08 +02:00
01e49b33b7 Update copyright year 2025-02-24 15:18:26 +01:00
ed5f890d28 Replace JsonString::Ownership with bool 2024-11-26 14:32:36 +01:00
594dc707cb Change string copy policy: only string literal are stored by pointer 2024-11-25 12:25:59 +01:00
ee02c0d573 Test extension slot allocation failure 2024-08-27 16:08:47 +02:00
7643dadaec WIP 2024-08-27 14:40:24 +02:00
45611924f3 Tests: add user-defined literal ""_s for std::string 2024-06-07 09:35:45 +02:00
0e8a236583 Update copyright year 2024-01-03 08:47:06 +01:00
9a11d98117 Tests: make allocator assertions more readable 2023-07-26 09:28:21 +02:00
30ec507989 Tests: use a consistent naming convention for allocators 2023-07-25 14:53:54 +02:00
00c9d8680a Remove memoryUsage() 2023-07-24 17:21:25 +02:00
0f319e7ca4 Remove capacity from JsonDocument's constructor 2023-07-18 09:08:55 +02:00
806fa907ab Always store serialized("string") by copy (#1915) 2023-05-02 09:36:40 +02:00
003087406c Reference-count shared strings 2023-04-21 16:11:54 +02:00
d8f3058efa Store the strings in the heap 2023-04-17 10:42:08 +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
8002722f3b Clang-format: set DerivePointerAlignment to false 2022-08-09 16:52:17 +02:00
89ed54362b Fix -Wsign-conversion on GCC 8 (fixes #1715) 2022-02-25 10:28:42 +01:00
a880614a75 Fix call of overloaded 'String(const char*, int)' is ambiguous 2022-02-17 17:33:16 +01:00
af18994deb Update copyright notice 2022-01-01 10:01:05 +01:00
d5d2209d09 Added "https://" prefix to all URLs so they are clickable in VS Code 2021-03-29 19:35:25 +02:00
97b7161d78 Update copyright notice for 2021 2021-01-25 09:14:15 +01:00
d04669d0cc Fixed result of JsonVariant::set((char*)0) (fixes #1368) 2020-09-05 17:33:47 +02:00
2996503b27 Fixed enums serialized as booleans (fixes #1197) 2020-02-26 16:16:20 +01:00
e6ddfc7afb Fixed static JsonString not being saved by reference 2020-02-16 17:34:04 +01:00
f9cfea244a Updated copyright notice 2020-01-09 15:48:38 +01:00
b47ac27ac6 Moved ancillary files to extras/ (fixes #1011) 2019-09-03 15:11:05 +02:00