Commit Graph

  • a0011ba7f8 Travis: build in Release mode Benoit Blanchon 2019-02-27 17:41:40 +01:00
  • ae2bfee0b1 Fixed warning "unused variable" with GCC 4.4 (issue #912) Benoit Blanchon 2019-02-28 10:22:27 +01:00
  • b171872b58 Add an empty cpp file to detect warnings muted by catch.hpp Benoit Blanchon 2019-02-28 09:32:56 +01:00
  • 3170558d6d Added a clear error message for StaticJsonBuffer and DynamicJsonBuffer Benoit Blanchon 2019-02-27 15:57:38 +01:00
  • 3530aa88d6 Updated the examples on wandbox.org Benoit Blanchon 2019-02-26 10:02:52 +01:00
  • 21998890d4 Set version to 6.9.0 v6.9.0 Benoit Blanchon 2019-02-26 08:43:45 +01:00
  • c9d6bd76c9 Added JsonDocument::remove() and JsonVariant::remove() Benoit Blanchon 2019-02-25 13:21:10 +01:00
  • bc2ce178ea Added JsonVariant::clear() Benoit Blanchon 2019-02-25 11:44:22 +01:00
  • e22e62d184 Added JsonDocument::size() Benoit Blanchon 2019-02-25 11:07:01 +01:00
  • 4181de119c Detect IncompleteInput in false, true, and null Benoit Blanchon 2019-02-18 16:18:11 +01:00
  • 56bf24e1ec Fixed JsonVariant::isNull() not returning true after set((char*)0) Benoit Blanchon 2019-02-18 16:04:51 +01:00
  • e9b4c6289b Disambiguated the name get() with getElement() and getMember() Benoit Blanchon 2019-02-15 15:53:53 +01:00
  • 7ed92bebd3 Converted JsonArray::copyFrom()/copyTo() to free functions copyArray() Benoit Blanchon 2019-02-15 15:33:04 +01:00
  • 0d01e84336 Updated copyright year to 2019 Benoit Blanchon 2019-02-15 13:34:37 +01:00
  • c3f71c1a99 Updated copyright year to 2019 Benoit Blanchon 2019-02-15 13:31:46 +01:00
  • 7050ef675d Decode escaped Unicode characters like \u00DE (issue #304, PR #791) Benoit Blanchon 2019-02-15 13:29:30 +01:00
  • 070cd5b6c0 Added more tests of JsonVariant::is<T>() Benoit Blanchon 2019-02-01 11:28:27 +01:00
  • 2c2cc33c94 Updated version in Arduino Library badge Benoit Blanchon 2019-01-30 16:42:21 +01:00
  • 169c83431c Set version to 6.8.0-beta v6.8.0-beta Benoit Blanchon 2019-01-30 16:39:38 +01:00
  • 5f72c68d87 Updated publish script for the "ardu-badge" Benoit Blanchon 2019-01-30 15:23:55 +01:00
  • b184af6d00 User can now use a JsonString as a key or a value Benoit Blanchon 2019-01-29 17:00:11 +01:00
  • 6f55d1e58f JsonVariant automatically promotes to JsonObject or JsonArray on write Benoit Blanchon 2019-01-29 14:09:09 +01:00
  • 5aea1363cc Merge branch 'master' into 6.x Benoit Blanchon 2019-01-24 21:02:46 +01:00
  • 0685a36f0e Added ArduBadge badge Gil Maimon 2019-01-24 20:52:47 +01:00
  • 70739f5cfd Reduced the size of the pretty JSON serializer Benoit Blanchon 2019-01-23 18:19:24 +01:00
  • 933a66a070 Added JsonDocument::operator[] Benoit Blanchon 2019-01-23 11:43:29 +01:00
  • 4167b11434 Create or assign a JsonDocument from a JsonArray/JsonObject/JsonVariant Benoit Blanchon 2019-01-23 10:47:20 +01:00
  • 2a3b51ac3a Fixed uninitialized variant in JsonDocument Benoit Blanchon 2019-01-20 14:35:22 +01:00
  • e633292df1 Replaced JsonDocument::nestingLimit with a param to deserializeJson() Benoit Blanchon 2019-01-19 14:45:16 +01:00
  • 30b94493bb Added nesting() to JsonArray, JsonDocument, JsonObject, and JsonVariant Benoit Blanchon 2019-01-17 09:55:51 +01:00
  • c51cc91f92 Added memoryUsage() to JsonArray, JsonObject, and JsonVariant Benoit Blanchon 2019-01-16 09:50:57 +01:00
  • 8b04046321 Import JsonDocument into the ArduinoJson namespace Benoit Blanchon 2019-01-15 12:04:48 +01:00
  • 11bb5e26ff Fixed copying from JsonObjectConst and JsonArrayConst Benoit Blanchon 2019-01-14 10:47:29 +01:00
  • 9ac2ac303c Removed default capacity of DynamicJsonDocument Benoit Blanchon 2019-01-14 10:32:19 +01:00
  • f0784d3b41 Simplified deserializeJson() and deserializeMsgPack() Benoit Blanchon 2019-01-04 12:33:39 +01:00
  • 3d8ece8c8b Improved syntax highlighting in Arduino IDE Benoit Blanchon 2018-12-14 17:33:02 +01:00
  • b0fb71f7d8 Import functions in the ArduinoJson namespace to get clearer errors Benoit Blanchon 2018-12-14 17:34:49 +01:00
  • a5cd1b1693 Set version to 6.7.0-beta v6.7.0-beta Benoit Blanchon 2018-12-07 12:23:02 +01:00
  • d8a1eec530 Renamed JsonKey to JsonString Benoit Blanchon 2018-12-07 12:08:30 +01:00
  • e20c47c57b DynamicJsonDocument reallocates memory pool is it's too small Benoit Blanchon 2018-12-07 10:38:58 +01:00
  • b77b203935 Extracted VariantData and CollectionData classes Benoit Blanchon 2018-12-07 09:16:58 +01:00
  • 1ad97ebf85 Merge branch 'master' into 6.x Benoit Blanchon 2018-12-04 16:52:15 +01:00
  • ef12c74771 Set version to 5.13.4 v5.13.4 Benoit Blanchon 2018-12-04 11:36:16 +01:00
  • 0bc03e8071 Removed spurious files in the Particle library Benoit Blanchon 2018-12-04 11:19:22 +01:00
  • 04286f3228 Moved size measurements to github.com/bblanchon/ArduinoJson-size Benoit Blanchon 2018-12-04 10:50:45 +01:00
  • 1d942cdf41 Use singly-linked list to reduce memory usage Benoit Blanchon 2018-12-01 12:05:51 +01:00
  • aaf0d5c3c5 Renamed and moved internal files Benoit Blanchon 2018-11-30 17:53:54 +01:00
  • 04e8acd844 Store offset between slots to reduce memory usage Benoit Blanchon 2018-11-30 14:26:15 +01:00
  • 8ff48dde73 Moved size measurements to github.com/bblanchon/ArduinoJson-size Benoit Blanchon 2018-11-29 18:30:24 +01:00
  • 41b2e629f7 Increased test coverage Benoit Blanchon 2018-11-28 12:40:18 +01:00
  • a60162ba76 Removed the indirection via StringSlot Benoit Blanchon 2018-11-27 17:28:19 +01:00
  • 45f4e5ac20 Restored the monotonic allocator Benoit Blanchon 2018-11-30 14:27:33 +01:00
  • 637f7a5bfa Removed template parameter of CharPointerReader and StringMover Benoit Blanchon 2018-11-16 16:24:36 +01:00
  • 399ccec645 Added a CSV showing the evolution of the size of the sample programs Benoit Blanchon 2018-11-16 15:08:53 +01:00
  • 2bd280df80 Removed the automatic expansion of DynamicJsonDocument Benoit Blanchon 2018-11-16 10:26:59 +01:00
  • c832edbda3 Added script to compile samples on wandbox.org Benoit Blanchon 2018-11-14 18:02:01 +01:00
  • b8d0041851 Set version to 6.6.0-beta v6.6.0-beta Benoit Blanchon 2018-11-13 18:05:59 +01:00
  • 0a97d4c825 Added DeserializationError::code() to be used in switch statements (closes #846) Benoit Blanchon 2018-11-13 14:31:53 +01:00
  • 5eee947ffe Increased test coverage of MessagePack serialization Benoit Blanchon 2018-11-12 21:36:39 +01:00
  • 720e6548c7 Replacing a value now releases the memory Benoit Blanchon 2018-11-12 18:28:34 +01:00
  • f375459d53 JsonArray::remove() and JsonObject::remove() now release the memory of strings Benoit Blanchon 2018-11-09 17:27:32 +01:00
  • e842838a23 fix a spelling error of JsonParserExample.ino Henry Zhang 2018-10-25 20:21:23 +08:00
  • 00aa038818 Added executable msgpack_fuzzer Benoit Blanchon 2018-10-19 19:42:15 +02:00
  • eb78077a0c Travis: Added fuzzing corpus to the cache Benoit Blanchon 2018-10-19 19:40:54 +02:00
  • d8d939660b JsonArray::remove() and JsonObject::remove() now release the memory of the variant Benoit Blanchon 2018-10-19 19:40:21 +02:00
  • ae089dcff7 Merged the two StringBuilder classes into one Benoit Blanchon 2018-10-18 17:54:33 +02:00
  • 1a4515c0b9 Removed JsonArray::is<T>(i) and JsonArray::set(i,v) Removed JsonObject::is<T>(k) and JsonObject::set(k,v) Replaced T JsonArray::get<T>(i) with JsonVariant JsonArray::get(i) Replaced T JsonObject::get<T>(k) with JsonVariant JsonObject::get(k) Benoit Blanchon 2018-10-18 14:51:02 +02:00
  • 4eee8e8bdf Reduced code size Benoit Blanchon 2018-10-18 11:15:32 +02:00
  • 9f1421e0a6 Set version to 6.5.0-beta v6.5.0-beta Benoit Blanchon 2018-10-13 13:23:34 +02:00
  • 84f199f0dd Added copy-constructor and copy-assignment-operator for JsonDocument (issue #827) Benoit Blanchon 2018-10-13 13:21:30 +02:00
  • 8230f8fc9b Restored JsonVariantLocal to fix the use-after-free Benoit Blanchon 2018-10-12 21:00:00 +02:00
  • 02d809f3f4 Added Visitable to reduce the number of definitions of operator<< Benoit Blanchon 2018-10-12 17:59:50 +02:00
  • b0560cbd99 Added JsonArrayConst, JsonObjectConst, and JsonVariantConst Benoit Blanchon 2018-10-12 12:00:27 +02:00
  • d1003ff6c9 Simplified string handling in JsonObject Benoit Blanchon 2018-10-10 09:18:36 +02:00
  • b11ad4077b Merge branch 'master' into 6.x Benoit Blanchon 2018-10-09 15:00:49 +02:00
  • 5dc7dc1216 Increased the default capacity of DynamicJsonDocument Benoit Blanchon 2018-10-08 18:32:58 +02:00
  • 0d4a93018b Set version to 5.13.3 v5.13.3 Benoit Blanchon 2018-10-06 17:50:41 +02:00
  • 3ca40db9f8 Added a coupon code for the book Benoit Blanchon 2018-10-06 17:42:01 +02:00
  • ce607196d1 Travis: update osx images Benoit Blanchon 2018-10-06 17:24:54 +02:00
  • 0b3af166ae Fixed JsonVariant::is<String>() (closes #763) Benoit Blanchon 2018-10-06 17:20:28 +02:00
  • 39e5660c4a Extracted a base class for JsonDocument Benoit Blanchon 2018-10-04 14:59:07 +02:00
  • 6b985b2d1f Fixed object keys not being duplicated Benoit Blanchon 2018-10-04 11:16:23 +02:00
  • 527dc19794 Allow mixed configuration in compilation units (issue #809) Benoit Blanchon 2018-10-02 16:54:05 +02:00
  • 29e71cbb16 Added implicit conversion from JsonArray and JsonObject to JsonVariant Benoit Blanchon 2018-10-01 12:55:40 +02:00
  • 2d54019f83 Set version to 6.4.0-beta v6.4.0-beta Benoit Blanchon 2018-09-11 16:31:04 +02:00
  • 98c8e8e35a Added a test for issue #808 Benoit Blanchon 2018-09-11 16:16:20 +02:00
  • b106b1ed14 Copy JsonArray and JsonObject, instead of storing pointers (fixes #780) Benoit Blanchon 2018-09-11 16:05:56 +02:00
  • 2998a55f0b Renamed JsonBuffer to MemoryPool Benoit Blanchon 2018-09-03 16:14:21 +02:00
  • e5c4778ff7 Updated publish script Benoit Blanchon 2018-08-31 17:04:15 +02:00
  • 2ec9569b36 Set version to 6.3.0-beta v6.3.0-beta Benoit Blanchon 2018-08-31 16:57:14 +02:00
  • 58303d0837 Added date in change log Benoit Blanchon 2018-08-31 16:38:42 +02:00
  • e3639918eb Reduced executable size Benoit Blanchon 2018-08-31 16:29:08 +02:00
  • 6d290bd001 Fixed duplication of char* Benoit Blanchon 2018-08-22 14:37:17 +02:00
  • 7683667b3c Fixed serializeJson(obj[key], dst) (closes #794) Benoit Blanchon 2018-08-21 18:07:41 +02:00
  • 9cbc891816 Implemented reference semantics for JsonVariant Benoit Blanchon 2018-08-21 17:56:16 +02:00
  • 0454bd1ef6 Set version to 6.2.3-beta v6.2.3-beta Benoit Blanchon 2018-07-19 18:28:03 +02:00
  • f139100b23 Added a script to update the version number Benoit Blanchon 2018-07-19 18:27:00 +02:00
  • 3f666bd5f0 Fixed exception when using Flash strings as object keys (fixes #784) Benoit Blanchon 2018-07-19 17:22:28 +02:00
  • d53a93e0ae Set version to 6.2.2-beta v6.2.2-beta Benoit Blanchon 2018-07-18 20:21:00 +02:00
  • 2059d610a8 Fixed invalid application of 'sizeof' to incomplete type (closes #783) Benoit Blanchon 2018-07-18 20:19:22 +02:00