Benoit Blanchon
|
e33e78d202
|
Rename undocumented JsonString::isLinked() to isStatic()
|
2024-11-26 14:32:50 +01:00 |
|
Benoit Blanchon
|
ed5f890d28
|
Replace JsonString::Ownership with bool
|
2024-11-26 14:32:36 +01:00 |
|
Benoit Blanchon
|
8931651317
|
JsonString: change default ownership to Copied
|
2024-11-26 10:10:52 +01:00 |
|
Benoit Blanchon
|
cf084ae6b4
|
JsonString: move adapter class in the same file
|
2024-11-25 12:25:59 +01:00 |
|
Benoit Blanchon
|
594dc707cb
|
Change string copy policy: only string literal are stored by pointer
|
2024-11-25 12:25:59 +01:00 |
|
Benoit Blanchon
|
5f8e3c0f0f
|
Polyfills: test remove_cv
|
2024-11-25 12:25:59 +01:00 |
|
Benoit Blanchon
|
afc0a29c2c
|
Polyfills: add decay
|
2024-11-25 12:25:59 +01:00 |
|
Benoit Blanchon
|
67a512a923
|
Clean up tests of adaptString()
|
2024-11-14 14:22:51 +01:00 |
|
Benoit Blanchon
|
c6c0649d70
|
Replace typedef with using
|
2024-10-23 15:54:08 +02:00 |
|
Benoit Blanchon
|
48ee4a178b
|
Use a const reference in is_convertible()
|
2024-09-21 09:22:12 +02:00 |
|
Benoit Blanchon
|
d92eee8736
|
Deprecate containsKey() in favor of doc["key"].is<T>()
See #2121
|
2024-09-06 17:32:09 +02:00 |
|
Benoit Blanchon
|
e4e2557b76
|
Move test of decomposeFloat()
|
2024-09-03 13:27:39 +02:00 |
|
Benoit Blanchon
|
3b6bf45b8a
|
Serialize float with less decimal places than double
|
2024-09-03 11:44:35 +02:00 |
|
Benoit Blanchon
|
e34c27723a
|
Fix build on modern compilers
|
2024-06-18 13:51:40 +02:00 |
|
Benoit Blanchon
|
45611924f3
|
Tests: add user-defined literal ""_s for std::string
|
2024-06-07 09:35:45 +02:00 |
|
Benoit Blanchon
|
9e0c56acc3
|
Replace ConverterNeedsWriteableRef with function_traits
|
2024-05-22 09:27:14 +02:00 |
|
Benoit Blanchon
|
72642e3090
|
Fix compatibility with GCC 4.8
Closes #2045
|
2024-02-01 21:37:45 +01:00 |
|
Benoit Blanchon
|
0e8a236583
|
Update copyright year
|
2024-01-03 08:47:06 +01:00 |
|
Benoit Blanchon
|
b20653ee1a
|
Fix 'std::string' has not been declared (issue #1967)
Ported from 259855a87b
|
2023-09-13 18:31:22 +02:00 |
|
Benoit Blanchon
|
7f459adc4b
|
Remove createNestedArray() and createNestedObject()
|
2023-08-09 12:08:21 +02:00 |
|
Benoit Blanchon
|
af6954c224
|
serializeXxx() sets std::string and String instead of appending
|
2023-07-31 18:37:35 +02:00 |
|
Benoit Blanchon
|
9a11d98117
|
Tests: make allocator assertions more readable
|
2023-07-26 09:28:21 +02:00 |
|
Benoit Blanchon
|
30ec507989
|
Tests: use a consistent naming convention for allocators
|
2023-07-25 14:53:54 +02:00 |
|
Benoit Blanchon
|
00c9d8680a
|
Remove memoryUsage()
|
2023-07-24 17:21:25 +02:00 |
|
Benoit Blanchon
|
0f319e7ca4
|
Remove capacity from JsonDocument's constructor
|
2023-07-18 09:08:55 +02:00 |
|
Benoit Blanchon
|
4871380060
|
Rename MemoryPool to ResourceManager
|
2023-06-18 10:14:39 +02:00 |
|
Benoit Blanchon
|
044a4753d2
|
Rename StringCopier to StringBuilder
|
2023-05-10 10:12:55 +02:00 |
|
Benoit Blanchon
|
95f5d9d134
|
Fix compatibility with the Blynk libary (fixes #1914)
Ported from 52d8a65cbc
|
2023-04-21 19:08:53 +02:00 |
|
Benoit Blanchon
|
461cdaa818
|
Allow using PROGMEM outside of Arduino (fixes #1903)
Ported from 40daf56b5a
|
2023-04-21 19:08:53 +02:00 |
|
Benoit Blanchon
|
dd46813dc0
|
Change naming convention from _member to member_ (fixes #1905)
Ported from 31ce648e63
|
2023-04-21 18:59:48 +02:00 |
|
Benoit Blanchon
|
d8f3058efa
|
Store the strings in the heap
|
2023-04-17 10:42:08 +02:00 |
|
Benoit Blanchon
|
e9850152a7
|
Tests: replace constants with sizeofString(n)
|
2023-04-07 14:50:54 +02:00 |
|
Benoit Blanchon
|
3f43c2b816
|
Remove JSON_ARRAY_SIZE(), JSON_OBJECT_SIZE(), and JSON_STRING_SIZE()
|
2023-03-29 19:18:06 +02:00 |
|
Benoit Blanchon
|
5faa3df43f
|
MemoryPool calls the Allocator directly
|
2023-03-20 15:03:09 +01:00 |
|
Benoit Blanchon
|
540901e219
|
Merge DynamicJsonDocument with JsonDocument
|
2023-03-20 14:49:51 +01:00 |
|
Benoit Blanchon
|
17a482a9b1
|
Remove StaticJsonDocument
|
2023-03-20 10:40:35 +01:00 |
|
Benoit Blanchon
|
c89a2025ce
|
Make string support generic (issue #1807)
|
2023-03-13 12:19:05 +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
|
1b66a217bf
|
Replace ARDUINOJSON_NAMESPACE with an inline namespace (#1820)
|
2023-02-14 10:04:48 +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
|
1ec16ca94f
|
Use pgm_read() instead of ARDUINOJSON_READ_STATIC_ARRAY
|
2023-01-26 14:55:46 +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
|
09f9bd6b8b
|
Fix detection of char types
|
2022-12-26 10:21:57 +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
|
d0b619ea93
|
Rename UInt to JsonUInt
|
2022-12-19 14:41:43 +01:00 |
|
Benoit Blanchon
|
dc42d93b0f
|
Rename ObjectConstRef to JsonObjectConst
|
2022-12-19 12:20:37 +01:00 |
|
Benoit Blanchon
|
dff07ebfe8
|
Rename ObjectRef to JsonObject
|
2022-12-19 12:20:13 +01:00 |
|