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
|
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
|
c584966520
|
Update accept()
|
2022-03-10 13:50:15 +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
|
af18994deb
|
Update copyright notice
|
2022-01-01 10:01:05 +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
|
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
|
a7873389c6
|
Change VariantData::asString() return type to JsonString
|
2021-10-24 09:58: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
|
4e261068a1
|
clang-format: set IndentPPDirectives to AfterHash
|
2021-06-16 21:08:01 +02:00 |
|
Benoit Blanchon
|
6b8e93e05e
|
clang-tidy: fixed "uninitialized field" in VariantData
|
2021-06-04 11:36:20 +02:00 |
|
Benoit Blanchon
|
892c37db08
|
Optimized JsonVariant::is<float>()
|
2021-04-21 13:21:40 +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
|
97b7161d78
|
Update copyright notice for 2021
|
2021-01-25 09:14:15 +01:00 |
|
Benoit Blanchon
|
d04669d0cc
|
Fixed result of JsonVariant::set((char*)0) (fixes #1368)
|
2020-09-05 17:33:47 +02:00 |
|
Benoit Blanchon
|
6d2ad4539f
|
Simplified the implementation of parseNumber()
|
2020-09-04 09:23:40 +02:00 |
|
Benoit Blanchon
|
5ab53f42b2
|
Added a return value to visitors
|
2020-08-29 18:40:27 +02:00 |
|
Benoit Blanchon
|
4df29fbac1
|
Fixed "linked" strings incorrectly marked as "owned" (fixes #1318)
|
2020-07-24 22:25:56 +02:00 |
|
Benoit Blanchon
|
764ff2cd53
|
Added string deduplication (closes #1303)
|
2020-07-21 20:15:31 +02:00 |
|
Benoit Blanchon
|
04c59985a1
|
Inverted dependency between MemoryPool and string adapters.
Inserted a null after each raw string in the pool.
|
2020-07-08 09:38:27 +02:00 |
|
Benoit Blanchon
|
7e58347fbe
|
Added comparisons between JsonVariants
|
2020-07-02 15:28:34 +02:00 |
|
Benoit Blanchon
|
f7de027617
|
Break build if using 64-bit integers with ARDUINOJSON_USE_LONG_LONG==0
|
2020-05-14 10:25:10 +02:00 |
|
Benoit Blanchon
|
fc9e609ab5
|
Fixed "maybe-uninitialized" warning (fixes #1217)
|
2020-03-25 08:37:57 +01: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
|
66b12da4e7
|
Added DeserializationOption::Filter (closes #959)
|
2020-02-12 17:22:42 +01:00 |
|
Benoit Blanchon
|
f9cfea244a
|
Updated copyright notice
|
2020-01-09 15:48:38 +01:00 |
|
Benoit Blanchon
|
062c1c13b5
|
Added BasicJsonDocument::shrinkToFit()
|
2019-11-07 15:40:20 +01:00 |
|
Benoit Blanchon
|
fcbec6eb6d
|
Use absolute instead of relative includes (fixes #1072)
|
2019-08-26 11:57:57 +02:00 |
|
Benoit Blanchon
|
b54de58e6b
|
Fixed comparison of JsonVariant with mixed strings (closes #1051)
|
2019-07-19 12:15:16 +02:00 |
|
Benoit Blanchon
|
90c1d549a8
|
Made deserializeJson() more picky about trailing characters (closes #980)
|
2019-05-16 20:41:07 +02:00 |
|
Benoit Blanchon
|
576543c4b4
|
Added overflow handling in JsonVariant::as<T>() and JsonVariant::is<T>()
|
2019-03-06 15:31:37 +01:00 |
|
Benoit Blanchon
|
c9d6bd76c9
|
Added JsonDocument::remove() and JsonVariant::remove()
|
2019-02-25 13:21:10 +01:00 |
|
Benoit Blanchon
|
56bf24e1ec
|
Fixed JsonVariant::isNull() not returning true after set((char*)0)
|
2019-02-18 16:04:51 +01:00 |
|
Benoit Blanchon
|
e9b4c6289b
|
Disambiguated the name get() with getElement() and getMember()
|
2019-02-15 15:53:53 +01:00 |
|
Benoit Blanchon
|
c3f71c1a99
|
Updated copyright year to 2019
|
2019-02-15 13:32:04 +01:00 |
|
Benoit Blanchon
|
b184af6d00
|
User can now use a JsonString as a key or a value
|
2019-01-29 17:00:11 +01:00 |
|
Benoit Blanchon
|
6f55d1e58f
|
JsonVariant automatically promotes to JsonObject or JsonArray on write
|
2019-01-29 14:09:09 +01:00 |
|
Benoit Blanchon
|
4167b11434
|
Create or assign a JsonDocument from a JsonArray/JsonObject/JsonVariant
|
2019-01-23 10:47:20 +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
|
d8a1eec530
|
Renamed JsonKey to JsonString
|
2018-12-07 12:08:30 +01:00 |
|