Commit Graph

  • afe2434baf Extract ObjectConstRef.hpp from ObjectRef.hpp Benoit Blanchon 2022-12-05 11:49:04 +01:00
  • e08f8d5b51 Inline class ObjectRefBase Benoit Blanchon 2022-12-05 11:42:09 +01:00
  • 7e3b40f379 Extract ArrayConstRef.hpp from ArrayRef.hpp Benoit Blanchon 2022-11-29 15:48:33 +01:00
  • 584770dc6f Inline class ArrayRefBase Benoit Blanchon 2022-11-29 15:29:36 +01:00
  • 5d2a440c69 Remove ArrayFunctions.hpp and ObjectFunctions.hpp Benoit Blanchon 2022-11-28 12:25:20 +01:00
  • ac14f29e6c Move definitions of JSON_ARRAY_SIZE() and JSON_OBJECT_SIZE() Benoit Blanchon 2022-11-29 15:33:59 +01:00
  • 3d62fa8af2 CI: use ubuntu-20.04 for GCC Benoit Blanchon 2022-12-05 12:19:59 +01:00
  • 0f85a55cac Implement VariantRefBase with a CRTP Benoit Blanchon 2022-11-26 18:34:25 +01:00
  • 21db92af47 Simpify variant reader Benoit Blanchon 2022-11-26 09:37:10 +01:00
  • 6447520b5b Replace Yes/No with int/char Benoit Blanchon 2022-11-22 18:56:42 +01:00
  • 079ccadbee Remove sponsor techexplorations Benoit Blanchon 2022-11-08 08:59:18 +01:00
  • 615f675840 Update dessant/lock-threads Benoit Blanchon 2022-11-03 10:11:45 +01:00
  • 2182c83b87 Remove ArrayShortcuts and ObjectShortcuts Benoit Blanchon 2022-11-02 09:18:02 +01:00
  • b8d1dccb21 Test IsString<String> and IsString<StringSumHelper> Benoit Blanchon 2022-10-31 18:02:07 +01:00
  • c3d5e9382d Implement IsString from StringAdapter Benoit Blanchon 2022-10-26 17:20:33 +02:00
  • ecb72f9a9d Add StringAdapter<T> Benoit Blanchon 2022-10-26 16:19:14 +02:00
  • 7004c39af6 variantGetOrAddMember() takes an adapted string like all its siblings Benoit Blanchon 2022-10-26 10:44:21 +02:00
  • 057956225c Add namespace StringStoragePolicy Benoit Blanchon 2022-10-26 10:41:42 +02:00
  • b27990f780 Attach copy policy to string adapters Benoit Blanchon 2022-10-26 10:37:18 +02:00
  • 61c6f8ba59 CI : update macOS runner Benoit Blanchon 2022-10-21 17:40:52 +02:00
  • d8d37ba7ad CI: update deprecated actions Benoit Blanchon 2022-10-21 17:37:15 +02:00
  • 92d6bae25c Remove ArrayIterator::internal() and ObjectIterator::internal() Benoit Blanchon 2022-10-13 09:41:06 +02:00
  • 6e17c3e6f9 Extract VariantRefBase from VariantProxy Benoit Blanchon 2022-10-03 19:14:05 +02:00
  • 8ee67b0229 Fix brew: command not found (actions/runner-images#6283) Benoit Blanchon 2022-10-03 09:44:20 +02:00
  • 07b9153ae4 CI: Add CodeQL Benoit Blanchon 2021-12-14 09:54:13 +01:00
  • abfcac4674 README: bigger logo on mobile Benoit Blanchon 2022-09-20 16:59:06 +02:00
  • cde8cd50f8 VSCode: configure include path Benoit Blanchon 2022-08-30 10:18:27 +02:00
  • cf4436e581 Extract VariantProxy from ElementProxy and MemberProxy Benoit Blanchon 2022-08-30 10:18:08 +02:00
  • 2b6bb78a09 Don't call operator VariantConstRef in VariantComparer Benoit Blanchon 2022-08-30 10:14:48 +02:00
  • ffa7f8d22d Make MemberProxy and `ElementProxy similar Benoit Blanchon 2022-08-09 13:57:23 +02:00
  • f73be9cf0f Fix typo. Andrii Pereverziev 2022-08-10 00:17:23 +03:00
  • 8002722f3b Clang-format: set DerivePointerAlignment to false Benoit Blanchon 2022-08-09 16:52:17 +02:00
  • 62e83133cd Remove JsonDocument::data() and JsonDocument::memoryPool() Benoit Blanchon 2022-08-09 10:33:19 +02:00
  • 1d21027e2a Fix lax parsing of true, false, and null (fixes #1781) Benoit Blanchon 2022-08-04 12:39:34 +02:00
  • 5705247e5f Fix replacement for getOrAddElement() and getOrAddMember() Benoit Blanchon 2022-08-04 10:47:02 +02:00
  • dde9e9fc26 Remove member MsgPackDeserializer::_error Benoit Blanchon 2022-07-29 10:51:47 +02:00
  • a6da4ad452 Remove member JsonDeserializer::_error Benoit Blanchon 2022-07-29 10:53:23 +02:00
  • e2a29eef24 CI: simplify Ubuntu package sources Benoit Blanchon 2022-07-29 11:31:09 +02:00
  • 043ee651a9 CI: remove dependency on Ubuntu 21.04 "The Hirsute Hippo" Benoit Blanchon 2022-07-29 11:30:47 +02:00
  • 84b7037b3e Add VariantAttorney Benoit Blanchon 2022-07-07 11:10:48 +02:00
  • c5838a876b Remove getElement(), getOrAddElement(), getMember(), and getOrAddMember() Benoit Blanchon 2022-07-07 14:16:06 +02:00
  • 750cd0be92 Add collectionToVariant() Benoit Blanchon 2022-07-05 09:57:06 +02:00
  • 758580bfb6 Rename addElement() to add() Benoit Blanchon 2022-07-06 10:02:29 +02:00
  • 04872b6db8 Simplify ProgmemExample.ino and StringExample.ino Benoit Blanchon 2022-07-07 14:32:41 +02:00
  • 58c7c919f2 Remove unused arrayAccept() and objectAccept() Benoit Blanchon 2022-07-06 14:56:00 +02:00
  • cd8373ad32 Change link() to shallowCopy() (issue #1343) Benoit Blanchon 2022-07-05 17:07:43 +02:00
  • 3b3ab8c4e1 Inline variantAsArray() and variantAsObject() Benoit Blanchon 2022-07-05 14:02:41 +02:00
  • 5b06b1564e Remove undocumented accept() functions Benoit Blanchon 2022-07-03 15:51:01 +02:00
  • 77b4270d97 Remove Visitable Benoit Blanchon 2022-07-03 15:37:08 +02:00
  • 7c2ca773ff README: update Tech Explorations's link Benoit Blanchon 2022-06-10 12:12:26 +02:00
  • e2bb2cec7b Fix comparison operators for JsonObject and JsonObjectConst Benoit Blanchon 2022-06-10 09:53:25 +02:00
  • ff4e837df5 Fix comparison operators for JsonArray and JsonArrayConst Benoit Blanchon 2022-06-09 21:06:32 +02:00
  • fb904033d3 Replace serializeJson()'s template parameter with JsonVariantConst Benoit Blanchon 2022-06-02 20:36:32 +02:00
  • e6cd16aec4 Add missing const specifiers in serializers Benoit Blanchon 2022-05-23 19:20:15 +02:00
  • ee74c3bb1c Inline variantAccept() Benoit Blanchon 2022-05-22 17:07:16 +02:00
  • 37faa7ce13 Merge definitions of VariantConstRef::accept() and VariantRef::accept() Benoit Blanchon 2022-05-22 17:03:09 +02:00
  • 3d6c328a4f Add JsonVariant::link() (resolves #1343) Benoit Blanchon 2022-04-27 15:06:58 +02:00
  • 5577d18377 JsonVariant: add tests for size() Benoit Blanchon 2022-04-27 15:00:27 +02:00
  • 1d103a1528 MemberProxy: move tests for createNestedArray() and createNestedObject() Benoit Blanchon 2022-04-27 14:58:37 +02:00
  • 7b19a4b6e7 Add getMemberConst() and getElementConst() Benoit Blanchon 2022-03-31 11:59:00 +02:00
  • ac1d29fac0 Add meta function ConverterNeedsWriteableRef<T> Benoit Blanchon 2022-03-31 11:23:24 +02:00
  • 98037e5742 Move several functions from VariantImpl.hpp to VariantRef.hpp Benoit Blanchon 2022-04-14 14:05:33 +02:00
  • d0e3808dd0 Move declaration of VariantConstRef above VariantRef Benoit Blanchon 2022-04-13 18:13:28 +02:00
  • 3760a643cb Implement comparison out of VariantData Benoit Blanchon 2022-04-07 21:37:00 +02:00
  • fc9d8aa31e Implement nesting() out of VariantData Benoit Blanchon 2022-03-29 13:03:07 +02:00
  • ccfbb5fd1d Fix 9.22337e+18 outside range of representable values of type 'long' Benoit Blanchon 2022-04-07 20:58:54 +02:00
  • c9fbc5e40a README: remove utm_source/utm_medium to make links more readable (#1735) Benoit Blanchon 2022-04-07 18:49:39 +02:00
  • 4c222533af Add workaround for VS2013 long-overflow Benoit Blanchon 2022-04-06 18:36:07 +02:00
  • 3f8f333c06 Simplify is_signed and is_unsigned Benoit Blanchon 2022-04-06 18:25:26 +02:00
  • ce111d447e Reduce size Benoit Blanchon 2022-04-06 16:41:04 +02:00
  • 42976551f8 highest_for<T>() (+22 bytes!!) Benoit Blanchon 2022-04-06 14:45:28 +02:00
  • e7afef895e Add FloatTraits::highest_for() Benoit Blanchon 2022-04-06 12:32:21 +02:00
  • c65692ab31 Fix 9.22337e18 is outside the range of representable values of 'long' Benoit Blanchon 2022-04-05 13:02:24 +02:00
  • 67b6797b6d Set version to 6.19.4 v6.19.4 Benoit Blanchon 2022-04-05 10:53:11 +02:00
  • 8d9504239b Fix comparisons operators with const JsonDocument& Benoit Blanchon 2022-04-05 10:12:17 +02:00
  • 400096b38a Forward declare VariantConstRef issue1343-2 Benoit Blanchon 2022-03-31 13:44:24 +02:00
  • 77cda804e5 Use getUpstreamXxxConst as much as possible (6788,5602) Benoit Blanchon 2022-03-31 12:19:00 +02:00
  • c4d487b6cf Add getMemberConst() and getElementConst() (6780,5602) Benoit Blanchon 2022-03-31 11:59:00 +02:00
  • 5fcdf1739e Add ConverterNeedsWriteableRef Benoit Blanchon 2022-03-31 11:23:24 +02:00
  • 03414a5301 getMember() (6764,5602) Benoit Blanchon 2022-03-30 21:43:55 +02:00
  • 99a646e854 getElement() (6790,5602) Benoit Blanchon 2022-03-30 21:35:36 +02:00
  • 50b12e2eb1 Fix JsonDocument::size() Benoit Blanchon 2022-03-30 21:30:30 +02:00
  • 09b0f20099 size() ignores pointers (6796,5602) Benoit Blanchon 2022-03-30 21:26:47 +02:00
  • d85684ebaa Remove nesting() from VariantData (6796,5602) Benoit Blanchon 2022-03-29 13:03:07 +02:00
  • 24f9716287 Move accept() to base class Benoit Blanchon 2022-03-29 12:33:40 +02:00
  • fc009cfc5d isInteger() (6796,5602) Benoit Blanchon 2022-03-29 12:27:45 +02:00
  • 5c1fbaa43f Mer isArray() and isArrayStrict() (6796,5602) Benoit Blanchon 2022-03-29 12:22:05 +02:00
  • fb88d4cda0 accept() ignores pointers (6796,5602) Benoit Blanchon 2022-03-29 12:19:44 +02:00
  • 58dee1850d isNull() ignores pointers (6796,5606) Benoit Blanchon 2022-03-29 12:14:15 +02:00
  • ddb5e1177c asBoolean() ignores pointers (6796,5626) Benoit Blanchon 2022-03-28 12:44:45 +02:00
  • d7eef30e6c Merge isObject() and isObjectStrict() (6796,5626) Benoit Blanchon 2022-03-28 12:42:44 +02:00
  • a3d7158106 asArray() ignores pointer (6796,5626) Benoit Blanchon 2022-03-28 12:39:08 +02:00
  • 24f718201b asObject() ignores pointers (6814,5626) Benoit Blanchon 2022-03-28 12:34:43 +02:00
  • 2d81897371 asString() ignores pointers (6814,5626) Benoit Blanchon 2022-03-28 12:27:59 +02:00
  • b5f840c0d1 asIntegral() ignores pointers (6812,5626) Benoit Blanchon 2022-03-28 12:24:50 +02:00
  • 228a48c368 asFloat() ignores pointers (6808,5626) Benoit Blanchon 2022-03-28 12:19:53 +02:00
  • 1ee9616f6f !! add size comments (6858,5626) Benoit Blanchon 2022-03-24 10:39:06 +01:00
  • f5cf7a8a20 Add JsonVariant::link() Benoit Blanchon 2022-03-10 13:50:01 +01:00
  • bf5d0c790c Add implicit conversion from JsonDocument to JsonVariant Benoit Blanchon 2022-03-23 16:00:24 +01:00
  • f4379f97ae Format code with clang-format Benoit Blanchon 2022-03-23 17:17:09 +01:00