Benoit Blanchon
|
b02d979ceb
|
Test null
|
2022-03-14 19:40:05 +01:00 |
|
Benoit Blanchon
|
c68bd7fb95
|
remove()
|
2022-03-13 20:51:13 +01:00 |
|
Benoit Blanchon
|
a4307f5cd1
|
as<bool>()
|
2022-03-11 18:54:51 +01:00 |
|
Benoit Blanchon
|
8b1d38f92a
|
as<double>, as<string>
|
2022-03-11 18:53:00 +01:00 |
|
Benoit Blanchon
|
6691c5170b
|
as<int>()
|
2022-03-11 18:49:34 +01:00 |
|
Benoit Blanchon
|
6a23b014dc
|
nesting
|
2022-03-11 18:39:05 +01:00 |
|
Benoit Blanchon
|
cf56a7de2a
|
isNull()
|
2022-03-11 18:28:37 +01:00 |
|
Benoit Blanchon
|
09e4fbaa1a
|
JsonVariant::as
|
2022-03-11 14:36:09 +01:00 |
|
Benoit Blanchon
|
e80c604843
|
Test array subscript
|
2022-03-10 19:00:24 +01:00 |
|
Benoit Blanchon
|
cf1d19fec5
|
is<array>()
|
2022-03-10 18:45:02 +01:00 |
|
Benoit Blanchon
|
a04c3f0189
|
Ignore write to member
|
2022-03-10 18:31:54 +01:00 |
|
Benoit Blanchon
|
9d427982cc
|
Fix is<object>() and getMember()
|
2022-03-10 18:26:37 +01:00 |
|
Benoit Blanchon
|
781928a588
|
WIP: is requires a loop
|
2022-03-10 15:16:37 +01:00 |
|
Benoit Blanchon
|
a673f14943
|
Fix size()
|
2022-03-10 14:54:34 +01:00 |
|
Benoit Blanchon
|
0b2eebeabc
|
link() takes a JsonVariantConst
|
2022-03-10 14:45:50 +01:00 |
|
Benoit Blanchon
|
2dc0600bd4
|
Replace with JsonVariant::link()
|
2022-03-10 14:35:12 +01:00 |
|
Benoit Blanchon
|
0bcf14bb89
|
Support JsonDocument*
|
2022-03-10 13:50:33 +01:00 |
|
Benoit Blanchon
|
c584966520
|
Update accept()
|
2022-03-10 13:50:15 +01:00 |
|
Benoit Blanchon
|
97935e6b1e
|
Add VALUE_IS_POINTER
|
2022-03-10 13:50:01 +01:00 |
|
Benoit Blanchon
|
ff06292d74
|
Fix -Wsign-conversion -funsigned-char (fixes #1715)
|
2022-02-28 10:00:12 +01:00 |
|
Benoit Blanchon
|
a880614a75
|
Fix call of overloaded 'String(const char*, int)' is ambiguous
|
2022-02-17 17:33:16 +01:00 |
|
Benoit Blanchon
|
4f6244eef4
|
Replace CopiedString and LinkedString with JsonString
|
2022-01-13 16:15:53 +01:00 |
|
Benoit Blanchon
|
ee12155617
|
Fix crash when adding an object member in a too small JsonDocument
|
2022-01-13 11:52:45 +01:00 |
|
Benoit Blanchon
|
af18994deb
|
Update copyright notice
|
2022-01-01 10:01:05 +01:00 |
|
Benoit Blanchon
|
0f529a3587
|
Renamed undocumented function isUndefined() to isUnbound()
|
2021-12-16 14:55:26 +01:00 |
|
Benoit Blanchon
|
90d750e4d9
|
Increase coverage
|
2021-12-07 16:08:44 +01:00 |
|
Benoit Blanchon
|
ca24ed48f5
|
Separate string adapter from storage policy
|
2021-12-07 16:08:44 +01:00 |
|
Benoit Blanchon
|
be70f6ddd7
|
Support NUL inside string values (issue #1646)
|
2021-12-07 16:08:44 +01:00 |
|
Benoit Blanchon
|
43b2e2e774
|
Append terminator in saveStringFromFreeZone()
|
2021-11-24 19:06:49 +01:00 |
|
Benoit Blanchon
|
62f9b94ab1
|
Add CopiedString and LinkedString
|
2021-11-24 19:06:49 +01:00 |
|
Benoit Blanchon
|
599e927590
|
Fix JsonVariant::memoryUsage() for raw strings
|
2021-11-12 16:55:41 +01:00 |
|
Benoit Blanchon
|
0429016ff1
|
Remove IsWriteableString
|
2021-11-12 15:28:33 +01:00 |
|
Benoit Blanchon
|
a7873389c6
|
Change VariantData::asString() return type to JsonString
|
2021-10-24 09:58:39 +02:00 |
|
Benoit Blanchon
|
8418845c8d
|
Add is<JsonString>()
|
2021-10-24 09:58:39 +02:00 |
|
Benoit Blanchon
|
df4a4b9e1d
|
Add as<JsonString>()
|
2021-10-24 09:58:13 +02:00 |
|
Benoit Blanchon
|
e0cd5b6405
|
Increased test coverage
|
2021-09-12 10:13:12 +02:00 |
|
Benoit Blanchon
|
1b74ad0731
|
Fixed error 'dummy' may be used uninitialized on GCC 11
|
2021-08-03 11:39:07 +02:00 |
|
Benoit Blanchon
|
9d58e566fd
|
Added as<std::string_view>() and is<std::string_view>()
|
2021-07-27 14:16:39 +02:00 |
|
Benoit Blanchon
|
5790f3c8f7
|
Refactored string adapters: only one IsString<T> and adaptString()
|
2021-07-27 14:16:18 +02:00 |
|
Benoit Blanchon
|
4073b52c00
|
Changed return type of convertToJson() and Converter::toJson() to void
|
2021-07-23 15:11:48 +02:00 |
|
Benoit Blanchon
|
4e261068a1
|
clang-format: set IndentPPDirectives to AfterHash
|
2021-06-16 21:08:01 +02:00 |
|
Benoit Blanchon
|
1d24caf066
|
Added InvalidConversion to identify invalid conversions (closes #1585)
|
2021-06-11 11:54:52 +02:00 |
|
Benoit Blanchon
|
6b8e93e05e
|
clang-tidy: fixed "uninitialized field" in VariantData
|
2021-06-04 11:36:20 +02:00 |
|
Benoit Blanchon
|
af3bb131c8
|
Fixed error Pe070 "incomplete type is not allowed" on IAR (fixes #1560)
|
2021-05-19 15:07:59 +02:00 |
|
Benoit Blanchon
|
c7c0b729c1
|
Added a deprecation warning for is<char>() and is<char*>()
|
2021-05-05 15:43:02 +02:00 |
|
Benoit Blanchon
|
4780174ee1
|
Added a deprecation warning for as<char>() and set(char)
|
2021-05-04 16:10:50 +02:00 |
|
Benoit Blanchon
|
ab23625091
|
Renamed DEPRECATED to ARDUINOJSON_DEPRECATED
|
2021-05-04 14:44:07 +02:00 |
|
Benoit Blanchon
|
337864618c
|
Reversed parameters of convertToJson() and convertFromJson()
Now the order matches copyArray(): source first, destination second.
|
2021-04-28 10:25:39 +02:00 |
|
Benoit Blanchon
|
4b89878c10
|
Added a deprecation warning for as<char*>()
|
2021-04-27 18:25:42 +02:00 |
|
Benoit Blanchon
|
892c37db08
|
Optimized JsonVariant::is<float>()
|
2021-04-21 13:21:40 +02:00 |
|