Benoit Blanchon
f051f8328d
Undef true and false macros
...
Replacing `true` with `1` changes `JsonString("ABC", true)` into `JsonString("ABC", 1)`, so all static strings had a length of 1.
This is a workaround for arduino/ArduinoCore-sam#50
Fixes #2181
2025-06-19 13:59:15 +02:00
Benoit Blanchon
01e49b33b7
Update copyright year
2025-02-24 15:18:26 +01:00
Benoit Blanchon
362201241f
Make MemoryPool generic
2024-08-25 14:58:23 +02:00
Benoit Blanchon
f2894552f2
Rename VariantPool to MemoryPool
2024-08-25 14:36:38 +02:00
Benoit Blanchon
e4f3fd8c91
Add support for MsgPack extension
2024-06-06 18:33:48 +02:00
Benoit Blanchon
60f9f7eff6
Move CollectionData::releaseSlot() to ResourceManager::freeSlot()
2024-05-17 17:10:45 +02:00
Benoit Blanchon
2c670e0148
Implement MsgPackBinary using raw strings and converters
2024-05-06 11:10:02 +02:00
Benoit Blanchon
0e8a236583
Update copyright year
2024-01-03 08:47:06 +01:00
Benoit Blanchon
adea7f4131
Extract VariantRefBaseImpl.hpp
2023-08-09 12:08:21 +02:00
Benoit Blanchon
57e9134540
Implement variant copy at the JsonVariant level
2023-07-17 11:20:46 +02:00
Benoit Blanchon
68b1602c35
Extract ObjectData from CollectionData
2023-06-26 11:42:25 +02:00
Benoit Blanchon
7bc73d7849
Extract ArrayData from CollectionData
2023-06-26 11:18:56 +02:00
Benoit Blanchon
d90b36c009
Extract VariantPool from ResourceManager
2023-06-18 10:14:39 +02:00
Benoit Blanchon
48acf963fb
Remove VariantImpl.hpp
2023-05-25 09:06:05 +02:00
Benoit Blanchon
461cdaa818
Allow using PROGMEM outside of Arduino ( fixes #1903 )
...
Ported from 40daf56b5a
2023-04-21 19:08:53 +02:00
Benoit Blanchon
540901e219
Merge DynamicJsonDocument with JsonDocument
2023-03-20 14:49:51 +01:00
Benoit Blanchon
17a482a9b1
Remove StaticJsonDocument
2023-03-20 10:40:35 +01:00
Benoit Blanchon
daa87e12dc
Update copyright notice
2023-02-16 11:45:01 +01:00
Benoit Blanchon
1b66a217bf
Replace ARDUINOJSON_NAMESPACE with an inline namespace ( #1820 )
2023-02-14 10:04:48 +01:00
Benoit Blanchon
407fc2cd45
Drop support for C++98/C++03 ( closes #1820 )
2023-02-10 17:02:52 +01:00
Benoit Blanchon
b0730f04f7
Rename VariantRef to JsonVariant
2022-12-19 14:41:53 +01:00
Benoit Blanchon
ef8ed28aec
Rename VariantConstRef to JsonVariantConst
2022-12-19 14:41:43 +01:00
Benoit Blanchon
b8eff868e6
Rename String to JsonString
2022-12-19 14:41:43 +01:00
Benoit Blanchon
d0b619ea93
Rename UInt to JsonUInt
2022-12-19 14:41:43 +01:00
Benoit Blanchon
652d70fe2c
Rename Integer to JsonInteger
2022-12-19 14:41:43 +01:00
Benoit Blanchon
8228aec74b
Rename Float to JsonFloat
2022-12-19 14:41:43 +01:00
Benoit Blanchon
3a9803679f
Rename Pair to JsonPair
2022-12-19 12:21:11 +01:00
Benoit Blanchon
dc42d93b0f
Rename ObjectConstRef to JsonObjectConst
2022-12-19 12:20:37 +01:00
Benoit Blanchon
dff07ebfe8
Rename ObjectRef to JsonObject
2022-12-19 12:20:13 +01:00
Benoit Blanchon
83e5d9d150
Rename ArrayConstRef to JsonArrayConst
2022-12-19 12:12:28 +01:00
Benoit Blanchon
7079aa99d7
Rename ArrayRef to JsonArray
2022-12-19 12:10:58 +01:00
Benoit Blanchon
6e17c3e6f9
Extract VariantRefBase from VariantProxy
2022-10-03 19:14:05 +02:00
Benoit Blanchon
af18994deb
Update copyright notice
2022-01-01 10:01:05 +01:00
Benoit Blanchon
c2800ace32
Include Arduino.h before stdlib.h to avoid conflict ( closes #1693 )
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
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
97b7161d78
Update copyright notice for 2021
2021-01-25 09:14:15 +01:00
Benoit Blanchon
0e794a28a1
Simplified implementation of comparison operators
2020-06-13 15:42:04 +02:00
Benoit Blanchon
fc9e609ab5
Fixed "maybe-uninitialized" warning ( fixes #1217 )
2020-03-25 08:37:57 +01:00
Benoit Blanchon
5b812522fa
Enabled debug mode when PlatformIO builds in debug
2020-03-20 20:58:08 +01:00
Benoit Blanchon
372b7d3d9d
Exposed JsonPairConst
2020-02-13 16:58: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
Simon Arlott
61a4195ed4
Added measureJson() to the ArduinoJson namespace ( fixes #1069 )
2019-08-10 11:15:11 +02:00
Benoit Blanchon
dee8c8e242
Added BasicJsonDocument to support custom allocator (issue #876 )
2019-03-17 21:48:10 +01:00
Benoit Blanchon
c4cbf9d0bb
Don't mark as a "system header" when debugging
2019-03-05 09:19:58 +01:00
Benoit Blanchon
136ee0d576
Marked ArduinoJson.h as a "system header"
2019-03-01 17:31:55 +01:00
Benoit Blanchon
3170558d6d
Added a clear error message for StaticJsonBuffer and DynamicJsonBuffer
2019-02-27 16:38:03 +01:00
Benoit Blanchon
7ed92bebd3
Converted JsonArray::copyFrom()/copyTo() to free functions copyArray()
2019-02-15 15:33:04 +01:00