Benoit Blanchon
61c6f8ba59
CI : update macOS runner
2022-10-21 17:40:52 +02:00
Benoit Blanchon
d8d37ba7ad
CI: update deprecated actions
2022-10-21 17:37:15 +02:00
Benoit Blanchon
92d6bae25c
Remove ArrayIterator::internal() and ObjectIterator::internal()
2022-10-14 18:11:55 +02:00
Benoit Blanchon
6e17c3e6f9
Extract VariantRefBase from VariantProxy
2022-10-03 19:14:05 +02:00
Benoit Blanchon
8ee67b0229
Fix brew: command not found ( actions/runner-images#6283 )
2022-10-03 09:54:48 +02:00
Benoit Blanchon
07b9153ae4
CI: Add CodeQL
2022-09-22 10:05:55 +02:00
Benoit Blanchon
abfcac4674
README: bigger logo on mobile
2022-09-20 17:01:47 +02:00
Benoit Blanchon
cde8cd50f8
VSCode: configure include path
2022-09-20 16:55:43 +02:00
Benoit Blanchon
cf4436e581
Extract VariantProxy from ElementProxy and MemberProxy
2022-08-30 10:25:03 +02:00
Benoit Blanchon
2b6bb78a09
Don't call operator VariantConstRef in VariantComparer
2022-08-30 10:25:03 +02:00
Benoit Blanchon
ffa7f8d22d
Make MemberProxy and `ElementProxy similar
2022-08-30 10:25:03 +02:00
Andrii Pereverziev
f73be9cf0f
Fix typo.
...
DeserializationOpion --> DeserializationOption
2022-08-10 09:06:45 +02:00
Benoit Blanchon
8002722f3b
Clang-format: set DerivePointerAlignment to false
2022-08-09 16:52:17 +02:00
Benoit Blanchon
62e83133cd
Remove JsonDocument::data() and JsonDocument::memoryPool()
2022-08-09 10:38:36 +02:00
Benoit Blanchon
1d21027e2a
Fix lax parsing of true, false, and null ( fixes #1781 )
2022-08-06 09:15:07 +02:00
Benoit Blanchon
5705247e5f
Fix replacement for getOrAddElement() and getOrAddMember()
2022-08-04 10:47:02 +02:00
Benoit Blanchon
dde9e9fc26
Remove member MsgPackDeserializer::_error
...
This reduces the code size by 54 bytes on AVR.
2022-07-29 11:51:46 +02:00
Benoit Blanchon
a6da4ad452
Remove member JsonDeserializer::_error
...
This reduces the code size by 72 bytes on AVR.
2022-07-29 11:51:46 +02:00
Benoit Blanchon
e2a29eef24
CI: simplify Ubuntu package sources
2022-07-29 11:31:09 +02:00
Benoit Blanchon
043ee651a9
CI: remove dependency on Ubuntu 21.04 "The Hirsute Hippo"
2022-07-29 11:30:47 +02:00
Benoit Blanchon
84b7037b3e
Add VariantAttorney
2022-07-07 14:32:43 +02:00
Benoit Blanchon
c5838a876b
Remove getElement(), getOrAddElement(), getMember(), and getOrAddMember()
2022-07-07 14:32:43 +02:00
Benoit Blanchon
750cd0be92
Add collectionToVariant()
2022-07-07 14:32:43 +02:00
Benoit Blanchon
758580bfb6
Rename addElement() to add()
2022-07-07 14:32:43 +02:00
Benoit Blanchon
04872b6db8
Simplify ProgmemExample.ino and StringExample.ino
2022-07-07 14:32:41 +02:00
Benoit Blanchon
58c7c919f2
Remove unused arrayAccept() and objectAccept()
2022-07-07 09:44:58 +02:00
Benoit Blanchon
cd8373ad32
Change link() to shallowCopy() (issue #1343 )
...
Instead of storing a pointer, the function copies the `VariantData`.
Benefits:
* smaller code
* no impact on programs that don't use this feature
Drawbacks:
* changes to the original variant are not always reflected on the copy
* modifying the original from the shallow copy leads to UB
2022-07-05 17:07:43 +02:00
Benoit Blanchon
3b3ab8c4e1
Inline variantAsArray() and variantAsObject()
2022-07-05 14:02:41 +02:00
Benoit Blanchon
5b06b1564e
Remove undocumented accept() functions
2022-07-03 17:38:03 +02:00
Benoit Blanchon
77b4270d97
Remove Visitable
2022-07-03 15:37:08 +02:00
Benoit Blanchon
7c2ca773ff
README: update Tech Explorations's link
2022-06-10 12:12:26 +02:00
Benoit Blanchon
e2bb2cec7b
Fix comparison operators for JsonObject and JsonObjectConst
2022-06-10 11:14:59 +02:00
Benoit Blanchon
ff4e837df5
Fix comparison operators for JsonArray and JsonArrayConst
2022-06-09 21:06:32 +02:00
Benoit Blanchon
fb904033d3
Replace serializeJson()'s template parameter with JsonVariantConst
2022-06-02 20:36:32 +02:00
Benoit Blanchon
e6cd16aec4
Add missing const specifiers in serializers
2022-05-23 19:20:15 +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
5577d18377
JsonVariant: add tests for size()
2022-04-27 15:08:13 +02:00
Benoit Blanchon
1d103a1528
MemberProxy: move tests for createNestedArray() and createNestedObject()
2022-04-27 15:07:26 +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
ccfbb5fd1d
Fix 9.22337e+18 outside range of representable values of type 'long'
2022-04-07 20:59:20 +02:00
Benoit Blanchon
c9fbc5e40a
README: remove utm_source/utm_medium to make links more readable ( #1735 )
2022-04-07 18:49:39 +02:00
Benoit Blanchon
67b6797b6d
Set version to 6.19.4
v6.19.4
2022-04-05 10:53:11 +02:00
Benoit Blanchon
8d9504239b
Fix comparisons operators with const JsonDocument&
2022-04-05 10:12:17 +02:00