Commit Graph

18 Commits

Author SHA1 Message Date
Benoit Blanchon
dddc4912c4 Don't store string literals by pointer anymore
Fixes #2189
2025-08-28 10:04:11 +02:00
Benoit Blanchon
b06cee8f4d Remove the overload of setString() for StringNode 2025-02-28 09:23:56 +01:00
Benoit Blanchon
01e49b33b7 Update copyright year 2025-02-24 15:18:26 +01:00
Benoit Blanchon
57a9c50b38 Make ElementProxy and MemberProxy non-copyable 2024-11-25 10:46:21 +01:00
Benoit Blanchon
31253dbe13 Add more tests with VLAs 2024-11-08 09:37:49 +01: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
45611924f3 Tests: add user-defined literal ""_s for std::string 2024-06-07 09:35:45 +02:00
Benoit Blanchon
f17fc055d3 Make JSON_STRING_SIZE(N) return N+1 to fix third-party code
ThingsBoard uses this macro to compute size of char arrays ಠ_ಠ
https://github.com/thingsboard/thingsboard-client-sdk/blob/v0.12.2/src/Helper.h#L38

Closes #2054
2024-02-18 20:00:25 +01:00
Benoit Blanchon
0e8a236583 Update copyright year 2024-01-03 08:47:06 +01:00
Benoit Blanchon
1d583f68da Add stubs for JSON_ARRAY_SIZE, JSON_OBJECT_SIZE, and JSON_STRING_SIZE 2023-08-10 09:54:47 +02:00
Benoit Blanchon
78399c2d78 Add a stub for createNestedObject() 2023-08-10 09:54:46 +02:00
Benoit Blanchon
8cc645c40c Add a stub for createNestedArray() 2023-08-10 09:54:45 +02:00
Benoit Blanchon
11373af344 Add a stub for add() 2023-08-10 09:54:44 +02:00
Benoit Blanchon
53d54ba9d7 Add a stub for shallowCopy() 2023-08-10 09:54:44 +02:00
Benoit Blanchon
2f31c932d7 Add a stub for memoryUsage() 2023-08-10 09:54:43 +02:00
Benoit Blanchon
93cb3d2fdc Add a stub for BasicJsonDocument 2023-08-10 09:54:42 +02:00
Benoit Blanchon
be5d5300a2 Add a stub for DynamicJsonDocument 2023-08-10 09:54:40 +02:00
Benoit Blanchon
ea5b019552 Add a stub for StaticJsonDocument 2023-08-10 09:54:28 +02:00