Benoit Blanchon
|
4073b52c00
|
Changed return type of convertToJson() and Converter::toJson() to void
|
2021-07-23 15:11:48 +02:00 |
|
Benoit Blanchon
|
a6fc9311b4
|
Added JsonArray::clear() (fixes #1597)
|
2021-06-26 11:29:15 +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
|
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
|
d5d2209d09
|
Added "https://" prefix to all URLs so they are clickable in VS Code
|
2021-03-29 19:35:25 +02: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 |
|
Benoit Blanchon
|
22904a48a6
|
Added a default implementation in the Visitor class
|
2021-02-21 13:37:07 +01:00 |
|
Benoit Blanchon
|
97b7161d78
|
Update copyright notice for 2021
|
2021-01-25 09:14:15 +01:00 |
|
Benoit Blanchon
|
10ec0f21b0
|
Fixed operator|(MemberProxy, JsonObject) (fixes #1415)
|
2020-10-23 10:48:33 +02:00 |
|
Benoit Blanchon
|
5ab53f42b2
|
Added a return value to visitors
|
2020-08-29 18:40:27 +02:00 |
|
Benoit Blanchon
|
6dc36125c2
|
Added ElementProxy::getOrAddElement() (fixes #1311)
|
2020-07-23 10:58:47 +02:00 |
|
Benoit Blanchon
|
40085609e2
|
Fixed copyArray() not working with MemberProxy and ElementProxy
|
2020-07-22 21:08:18 +02:00 |
|
Benoit Blanchon
|
ebb6d80092
|
Fixed copyArray() not working with String
|
2020-07-22 20:02:33 +02:00 |
|
Benoit Blanchon
|
7e58347fbe
|
Added comparisons between JsonVariants
|
2020-07-02 15:28:34 +02:00 |
|
Benoit Blanchon
|
0e794a28a1
|
Simplified implementation of comparison operators
|
2020-06-13 15:42:04 +02:00 |
|
Benoit Blanchon
|
3b923b6e4e
|
Added support for JsonDocument to copyArray() (issue #1255)
|
2020-05-02 10:00:08 +02:00 |
|
Benoit Blanchon
|
ec43bf4fe9
|
Simplified the implementation of implicit casts
|
2020-04-08 18:18:18 +02:00 |
|
Benoit Blanchon
|
d8724e0a0b
|
Changed the array subscript to automatically add missing elements
|
2020-02-20 08:59:25 +01:00 |
|
Benoit Blanchon
|
0814fc185f
|
Added a line-break after each "if" to get more accurate coverage report
|
2020-02-16 15:05:23 +01:00 |
|
Benoit Blanchon
|
d2a67f362f
|
Fixed "deprecated-copy" warning on GCC 9 (fixes #1184)
|
2020-02-13 11:07:40 +01:00 |
|
Benoit Blanchon
|
f9cfea244a
|
Updated copyright notice
|
2020-01-09 15:48:38 +01:00 |
|
Benoit Blanchon
|
6da6f921cd
|
Fixed dangling reference in MemberProxy and ElementProxy (fixes #1120)
|
2019-10-30 19:09:21 +01:00 |
|
Benoit Blanchon
|
7d1d0c4e67
|
Added conversion from JsonArray/JsonObject to bool
|
2019-09-24 09:38:00 +02:00 |
|
Benoit Blanchon
|
fcbec6eb6d
|
Use absolute instead of relative includes (fixes #1072)
|
2019-08-26 11:57:57 +02:00 |
|
Benoit Blanchon
|
795e37278f
|
Added operators == and != for MemberProxy
|
2019-07-19 10:27:03 +02:00 |
|
Benoit Blanchon
|
6ec5ba521b
|
Added JsonVariant::containsKey()
|
2019-03-22 21:58:12 +01:00 |
|
Benoit Blanchon
|
f3265d2111
|
Fixed warning "cast-align" (issue #914)
|
2019-03-01 09:15:43 +01:00 |
|
Benoit Blanchon
|
c9d6bd76c9
|
Added JsonDocument::remove() and JsonVariant::remove()
|
2019-02-25 13:21:10 +01:00 |
|
Benoit Blanchon
|
bc2ce178ea
|
Added JsonVariant::clear()
|
2019-02-25 11:44:22 +01:00 |
|
Benoit Blanchon
|
e9b4c6289b
|
Disambiguated the name get() with getElement() and getMember()
|
2019-02-15 15:53:53 +01:00 |
|
Benoit Blanchon
|
7ed92bebd3
|
Converted JsonArray::copyFrom()/copyTo() to free functions copyArray()
|
2019-02-15 15:33:04 +01:00 |
|
Benoit Blanchon
|
c3f71c1a99
|
Updated copyright year to 2019
|
2019-02-15 13:32:04 +01:00 |
|
Benoit Blanchon
|
6f55d1e58f
|
JsonVariant automatically promotes to JsonObject or JsonArray on write
|
2019-01-29 14:09:09 +01:00 |
|
Benoit Blanchon
|
30b94493bb
|
Added nesting() to JsonArray, JsonDocument, JsonObject, and JsonVariant
|
2019-01-17 09:55:51 +01:00 |
|
Benoit Blanchon
|
c51cc91f92
|
Added memoryUsage() to JsonArray, JsonObject, and JsonVariant
|
2019-01-16 09:50:57 +01:00 |
|
Benoit Blanchon
|
11bb5e26ff
|
Fixed copying from JsonObjectConst and JsonArrayConst
|
2019-01-14 11:17:57 +01:00 |
|
Benoit Blanchon
|
d8a1eec530
|
Renamed JsonKey to JsonString
|
2018-12-07 12:08:30 +01:00 |
|
Benoit Blanchon
|
b77b203935
|
Extracted VariantData and CollectionData classes
|
2018-12-07 09:16:58 +01:00 |
|
Benoit Blanchon
|
1d942cdf41
|
Use singly-linked list to reduce memory usage
|
2018-12-01 12:05:51 +01:00 |
|
Benoit Blanchon
|
aaf0d5c3c5
|
Renamed and moved internal files
|
2018-11-30 17:53:54 +01:00 |
|