Benoit Blanchon
|
77b4270d97
|
Remove Visitable
|
2022-07-03 15:37:08 +02:00 |
|
Benoit Blanchon
|
ee74c3bb1c
|
Inline variantAccept()
|
2022-05-23 19:17:18 +02:00 |
|
Benoit Blanchon
|
37faa7ce13
|
Merge definitions of VariantConstRef::accept() and VariantRef::accept()
|
2022-05-23 19:11:09 +02:00 |
|
Benoit Blanchon
|
3d6c328a4f
|
Add JsonVariant::link() (resolves #1343)
|
2022-04-27 15:08:13 +02:00 |
|
Benoit Blanchon
|
7b19a4b6e7
|
Add getMemberConst() and getElementConst()
|
2022-04-27 15:07:26 +02:00 |
|
Benoit Blanchon
|
ac1d29fac0
|
Add meta function ConverterNeedsWriteableRef<T>
|
2022-04-27 15:07:26 +02:00 |
|
Benoit Blanchon
|
98037e5742
|
Move several functions from VariantImpl.hpp to VariantRef.hpp
|
2022-04-27 15:07:26 +02:00 |
|
Benoit Blanchon
|
d0e3808dd0
|
Move declaration of VariantConstRef above VariantRef
|
2022-04-27 15:07:25 +02:00 |
|
Benoit Blanchon
|
3760a643cb
|
Implement comparison out of VariantData
|
2022-04-27 15:07:25 +02:00 |
|
Benoit Blanchon
|
fc9d8aa31e
|
Implement nesting() out of VariantData
|
2022-04-07 21:11:31 +02:00 |
|
Benoit Blanchon
|
8d9504239b
|
Fix comparisons operators with const JsonDocument&
|
2022-04-05 10:12:17 +02: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 |
|
Benoit Blanchon
|
d8a1d1a120
|
Increased coverage of ConverterImpl.hpp
|
2021-04-18 17:23:51 +02:00 |
|
Benoit Blanchon
|
64e52e97ee
|
Removed redundant range check in MemoryPoolPrint
|
2021-04-18 16:47:28 +02:00 |
|
Benoit Blanchon
|
fc4f5fd05f
|
Changed integer storage from positive/negative to signed/unsigned
|
2021-04-14 11:45:01 +02:00 |
|
Benoit Blanchon
|
d5d2209d09
|
Added "https://" prefix to all URLs so they are clickable in VS Code
|
2021-03-29 19:35:25 +02:00 |
|
Benoit Blanchon
|
c81e8fc93a
|
README: added a link to ARDUINOJSON_ENABLE_ARDUINO_STREAM
|
2021-03-29 18:10:00 +02:00 |
|
Benoit Blanchon
|
347ac422f4
|
Added support for Printable (closes #1444)
|
2021-03-27 14:35:15 +01:00 |
|
Benoit Blanchon
|
d7f5b56ca4
|
Added support for custom converters (closes #687)
|
2021-03-20 14:52:47 +01:00 |
|
Benoit Blanchon
|
e4ce75e20c
|
Simplified JsonVariant::as<T>() to always return T
|
2021-03-08 19:33:52 +01:00 |
|