daa87e12dc
Update copyright notice
2023-02-16 11:45:01 +01:00
8002722f3b
Clang-format: set DerivePointerAlignment
to false
2022-08-09 16:52:17 +02:00
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
3d6c328a4f
Add JsonVariant::link()
( resolves #1343 )
2022-04-27 15:08:13 +02:00
af18994deb
Update copyright notice
2022-01-01 10:01:05 +01:00
0f529a3587
Renamed undocumented function isUndefined()
to isUnbound()
2021-12-16 14:55:26 +01:00
8418845c8d
Add is<JsonString>()
2021-10-24 09:58:39 +02:00
d5d2209d09
Added "https://" prefix to all URLs so they are clickable in VS Code
2021-03-29 19:35:25 +02:00
d7f5b56ca4
Added support for custom converters ( closes #687 )
2021-03-20 14:52:47 +01:00
3aab36fec2
Changed JsonVariantConst::is<JsonArray/JsonObject>() to return false ( closes #1412 )
2021-02-25 19:19:23 +01:00
744d61f6fd
Added JsonVariant::is<JsonVariant/JsonVariantConst>() (issue #1412 )
2021-02-23 08:41:24 +01:00
05498aa178
Added JsonVariant::is<JsonVariant>()
(issue #1412 )
2021-02-23 08:39:58 +01:00
b1eb273d5b
Added JsonVariant::is<JsonArrayConst/JsonObjectConst>() (issue #1412 )
2021-02-23 08:33:28 +01:00
8a3f8510d6
Simplified tests of JsonVariant::is<T>()
2021-02-23 08:27:48 +01:00
97b7161d78
Update copyright notice for 2021
2021-01-25 09:14:15 +01:00
3bb0a7aa8e
Added support for enum
s in as<T>()
and is<T>()
( fixes #1256 )
2020-05-04 11:13:06 +02:00
f9cfea244a
Updated copyright notice
2020-01-09 15:48:38 +01:00
b47ac27ac6
Moved ancillary files to extras/
( fixes #1011 )
2019-09-03 15:11:05 +02:00