Benoit Blanchon
1b66a217bf
Replace ARDUINOJSON_NAMESPACE with an inline namespace ( #1820 )
2023-02-14 10:04:48 +01:00
Benoit Blanchon
09f9bd6b8b
Fix detection of char types
2022-12-26 10:21:57 +01:00
Benoit Blanchon
ef8ed28aec
Rename VariantConstRef to JsonVariantConst
2022-12-19 14:41:43 +01:00
Benoit Blanchon
8002722f3b
Clang-format: set DerivePointerAlignment to false
2022-08-09 16:52:17 +02:00
Benoit Blanchon
84b7037b3e
Add VariantAttorney
2022-07-07 14:32:43 +02:00
Benoit Blanchon
5b06b1564e
Remove undocumented accept() functions
2022-07-03 17:38:03 +02:00
Benoit Blanchon
fb904033d3
Replace serializeJson()'s template parameter with JsonVariantConst
2022-06-02 20:36:32 +02:00
Benoit Blanchon
af18994deb
Update copyright notice
2022-01-01 10:01:05 +01:00
Paulo Cabral Sanz
ec7ffa20f2
Avoid Arduino.h when all its features are disabled ( fixes #1692 )
2021-12-27 13:16:24 +01:00
Benoit Blanchon
4e261068a1
clang-format: set IndentPPDirectives to AfterHash
2021-06-16 21:08:01 +02:00
Benoit Blanchon
9bcb409648
Fixed serializeJson(doc, String) when allocation fails ( fixes #1572 )
2021-05-30 21:34:07 +02:00
Benoit Blanchon
2be528a3fa
serializeMsgPack(doc, p, n) doesn't add terminator anymore ( fixes #1545 )
2021-04-29 20:59:15 +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
97b7161d78
Update copyright notice for 2021
2021-01-25 09:14:15 +01:00
Benoit Blanchon
6a878ee444
Fixed error "No such file or directory WString.h" ( fixes #1381 )
2020-09-16 10:29:20 +02:00
Benoit Blanchon
5ab53f42b2
Added a return value to visitors
2020-08-29 18:40:27 +02: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
1e3d478998
Improved speed of serializeXxx() when writing to a String
2020-01-14 14:50:44 +01:00
Benoit Blanchon
3aebef6d0a
Fixed value returned by serializeXxx() when writing to a String
2020-01-14 11:22:44 +01:00
Benoit Blanchon
f9cfea244a
Updated copyright notice
2020-01-09 15:48:38 +01:00
Benoit Blanchon
8bf6f6e09f
Added support uint8_t for serializeMsgPack() ( closes #1142 )
2019-12-13 14:15:30 +01:00
Benoit Blanchon
8721ac88b1
Reorganized writer classes
2019-10-31 19:27:23 +01:00
Benoit Blanchon
498a2e4c1e
Added support for custom writer classes ( closes #1088 )
2019-09-13 14:10:21 +02:00
Benoit Blanchon
2078871f36
Added missing #include <ArduinoJson/Namespace.hpp>
2019-09-13 12:09:07 +02:00
Benoit Blanchon
fcbec6eb6d
Use absolute instead of relative includes ( fixes #1072 )
2019-08-26 11:57:57 +02:00
Benoit Blanchon
1e9cc285bb
Added support for basic_string<char, traits, allocator> ( closes #1045 )
2019-08-12 14:21:45 +02:00
Benoit Blanchon
12f9aac4ea
Fixed "no matching function for call to write(uint8_t)" ( closes #972 )
2019-04-23 08:46:18 +02:00
Benoit Blanchon
c3f71c1a99
Updated copyright year to 2019
2019-02-15 13:32:04 +01:00
Benoit Blanchon
527dc19794
Allow mixed configuration in compilation units (issue #809 )
2018-10-02 16:54:05 +02:00
Benoit Blanchon
b106b1ed14
Copy JsonArray and JsonObject, instead of storing pointers ( fixes #780 )
2018-09-11 16:06:08 +02:00
Benoit Blanchon
87fa87d87b
Renamed function RawJson() to serialized()
2018-07-12 09:08:20 +02:00
Benoit Blanchon
fc2e3a4ab3
Added serializeMsgPack() and measureMsgPack() ( closes #358 )
2018-05-29 08:31:39 +02:00
Benoit Blanchon
cb723840d9
Added deserializeMsgPack() (issue #358 )
2018-04-10 17:43:27 +02:00
Benoit Blanchon
923d3e8a84
Removed friend relationship between JsonVariant and JsonSerializer
2018-03-23 09:20:50 +01:00
Benoit Blanchon
83d73c93f7
Replaced printTo() with serializeJson()
...
* Added `serializeJson()` and `serializeJsonPretty()`
* Added `measureJson()` and `measureJsonPretty()`
* Removed `printTo()` and `prettyPrintTo()`
* Removed `measureLength()` and `measurePrettyLength()`
2018-03-01 09:24:58 +01:00
Benoit Blanchon
e390587e91
Kept only two namespaces ArduinoJson and ArduinoJson::Internals
2018-01-19 08:32:15 +01:00
Benoit Blanchon
bae179ed67
RawJson() accepts any kind of string and obeys to duplication rules
2018-01-18 09:43:37 +01:00
Benoit Blanchon
5c33fd4b94
Set copyright year to 2018
2018-01-05 09:20:01 +01:00
Benoit Blanchon
221c2861fc
Changed all links to point to arduinojson.org
2017-11-07 20:42:50 +01:00
Benoit Blanchon
591fe7e92b
Fixed incorrect rounding for float values ( fixes #588 )
2017-10-17 10:19:21 +02:00
Benoit Blanchon
a6091136b0
Fix GCC 7 warning
2017-09-27 11:13:45 +02:00
Benoit Blanchon
353bbd0e8c
Fix GCC 4.8.5 warning
2017-09-27 09:45:48 +02:00
Benoit Blanchon
d41f7a8165
Fixed too many decimals places in float serialization (issue #543 )
2017-07-14 10:51:46 +02:00
Benoit Blanchon
c955049207
Fixed IntelliSense errors in Visual Micro (issue #483 )
2017-05-28 15:33:03 +02:00
Benoit Blanchon
7415f206ea
Reduced code size
2017-05-27 15:08:11 +02:00
Benoit Blanchon
cda05aec04
Removed configurable number of decimal places (issues #288 , #427 and #506 )
2017-05-20 09:06:53 +02:00
Benoit Blanchon
9afa05e2f4
Removed Print class and converted printTo() to a template method (issue #276 )
2017-04-22 11:33:40 +02:00
Benoit Blanchon
024976cda2
Renamed folder include/ to src/ (issue #461 )
2017-04-20 10:26:40 +02:00