Commit Graph

  • e682ed5a1e Added a test prooving issue #22 Benoit Blanchon 2014-09-20 18:29:18 +02:00
  • bc44c36385 Test that nested JsonObject can be stored Benoit Blanchon 2014-09-27 16:18:40 +02:00
  • bcc8cece24 Moved JsonObject._buffer into the JsonNode's content Benoit Blanchon 2014-09-27 15:34:34 +02:00
  • a7ff04db0e Added "const" to cast operators Benoit Blanchon 2014-09-27 15:25:00 +02:00
  • a9a51ec1e2 Test that string can be stored in JsonObject Benoit Blanchon 2014-09-27 15:24:16 +02:00
  • 0495297c6c Group test in a test fixture Benoit Blanchon 2014-09-27 15:19:03 +02:00
  • 75588946c6 Test that boolean values can be stored in a JsonObject Benoit Blanchon 2014-09-27 15:04:06 +02:00
  • 5fa446d3f5 Test that a double can be stored in a JsonObject Benoit Blanchon 2014-09-27 14:59:02 +02:00
  • 71fd2de675 Test that integers can be stored in a JsonObject Benoit Blanchon 2014-09-27 14:51:50 +02:00
  • a2fc188526 Test that adding the same value twice doesn't increase the size of the object Benoit Blanchon 2014-09-27 14:43:19 +02:00
  • 166bdd6919 Test that adding values to the JsonObject increase the size of the buffer Benoit Blanchon 2014-09-27 12:16:20 +02:00
  • 4d4119e589 Test that JsonObject.size() is increased when values are added Benoit Blanchon 2014-09-27 11:53:26 +02:00
  • 91649df593 Test that CreateObject() returns an empty JsonObject Benoit Blanchon 2014-09-27 11:42:27 +02:00
  • 890e811e80 Test that size can't go above capacity Benoit Blanchon 2014-09-27 11:33:18 +02:00
  • bb887f94e7 Test size() after calling CreateObject Benoit Blanchon 2014-09-27 10:16:30 +02:00
  • 6e45f7c790 Test initial size of StaticJsonB Benoit Blanchon 2014-09-27 09:58:34 +02:00
  • 5580adb4a6 Added first test on StaticJsonBuffer Benoit Blanchon 2014-09-27 09:56:53 +02:00
  • 60a5d72367 Started a new solution from scratch. Added Google test Benoit Blanchon 2014-09-24 11:41:19 +02:00
  • 4cfb0ab84d Fixed issue #21 Benoit Blanchon 2014-09-20 18:56:22 +02:00
  • a1b6c2df75 Merge branch 'parse-escaped-chars' v3.4 Benoit Blanchon 2014-09-09 21:33:12 +02:00
  • feb6060887 Updated change-log Benoit Blanchon 2014-09-09 21:32:27 +02:00
  • 49d2b4b2a2 Updated code size Benoit Blanchon 2014-09-09 21:25:25 +02:00
  • 286a514fbe Minor clean up Benoit Blanchon 2014-09-09 21:23:37 +02:00
  • 9d3b522e7b Reduced code size (-6 bytes) Benoit Blanchon 2014-09-07 20:11:33 +02:00
  • c32642e130 Reduced code size (-6 bytes) Benoit Blanchon 2014-09-07 19:55:54 +02:00
  • 7a3fa35bd8 Added LICENSE.md Benoit Blanchon 2014-09-06 12:04:09 +02:00
  • 0154fc15cb Added escaped char replacement Benoit Blanchon 2014-09-04 21:45:41 +02:00
  • 24d173c3b9 Added tests of escaped chars Benoit Blanchon 2014-09-04 21:30:50 +02:00
  • d4c1b6f2c2 Extracted a class to test strings Benoit Blanchon 2014-09-04 21:17:51 +02:00
  • 58c051f564 Added comments v3.3 Benoit Blanchon 2014-09-01 21:36:09 +02:00
  • 763aa7fe37 Added an overload of prettyPrintTo() Benoit Blanchon 2014-09-01 21:22:56 +02:00
  • cd88fb0882 Added prettyPrintTo() Benoit Blanchon 2014-09-01 21:22:34 +02:00
  • ec843659d8 Updated CHANGELOG.md Benoit Blanchon 2014-09-01 21:14:09 +02:00
  • 2997a405a0 Added IndentedPrint example Benoit Blanchon 2014-08-26 12:48:59 +02:00
  • 57f28c2017 Reduced code size Benoit Blanchon 2014-08-26 12:11:17 +02:00
  • b3b70b78cf Fixed build error in Arduino IDE Benoit Blanchon 2014-08-26 12:03:50 +02:00
  • 48018bd6e6 Set default tab size to 2 Benoit Blanchon 2014-08-26 11:59:41 +02:00
  • 61952a9bcd Added setTabSize() Benoit Blanchon 2014-08-26 11:58:33 +02:00
  • 602cc104f9 Set line ending to CR LF, like in Arduino source code Benoit Blanchon 2014-08-26 11:52:12 +02:00
  • d71a39211d Fixed prettyPrintTo calling printTo Benoit Blanchon 2014-08-26 10:26:40 +02:00
  • f77a8b02e3 Fixed file names Benoit Blanchon 2014-08-26 10:26:12 +02:00
  • aa2cd0db00 Moved IndentedPrint into the namespace ArduinoJson::Generator Benoit Blanchon 2014-08-26 10:16:13 +02:00
  • f127ef6019 Refactoring... Benoit Blanchon 2014-08-26 10:13:49 +02:00
  • 3ae7327687 Renamed PrettyPrintDecorator into JsonPrettyPrint Benoit Blanchon 2014-08-26 10:08:54 +02:00
  • 23e61cc0f7 Renamed IndentedPrintDecorator into IndentedPrint Benoit Blanchon 2014-08-26 09:56:05 +02:00
  • b5002265cf Refactoring... Benoit Blanchon 2014-08-26 09:53:32 +02:00
  • e48ea94789 Refactoring... Benoit Blanchon 2014-08-26 09:49:59 +02:00
  • 6539c6982c Extracted class IndentedPrintDecorator from PrettyPrintDecorator Benoit Blanchon 2014-08-26 09:28:41 +02:00
  • d877d77b63 Moved PrettyPrintDecorator into the namespace ArduinoJson::Generator Benoit Blanchon 2014-08-25 13:19:07 +02:00
  • 1df6cde026 Refactoring... Benoit Blanchon 2014-08-25 13:14:09 +02:00
  • fafae8181b Refactoring... Benoit Blanchon 2014-08-25 12:51:56 +02:00
  • 151fc52c1c Refactoring... Benoit Blanchon 2014-08-25 12:48:38 +02:00
  • ea79340dc7 Refactoring... Benoit Blanchon 2014-08-25 12:41:49 +02:00
  • 9e88514700 Refactoring.... Benoit Blanchon 2014-08-25 12:28:58 +02:00
  • 752378a8cb Fixed bug when a string contains a brace Benoit Blanchon 2014-08-25 12:23:08 +02:00
  • 8465cc0c83 Refactoring... Benoit Blanchon 2014-08-25 11:46:42 +02:00
  • 2ddf8f1619 Renamed IndentedPrintDecorator to PrettyPrintDecorator Benoit Blanchon 2014-08-25 11:42:07 +02:00
  • f7aa0f89e3 Added JsonPrintable.prettyPrintTo(Print&) Benoit Blanchon 2014-08-25 11:39:04 +02:00
  • 3d322fdb28 Test nested arrays Benoit Blanchon 2014-08-25 11:02:38 +02:00
  • 981adf1989 Test empty nested arrays Benoit Blanchon 2014-08-25 11:01:22 +02:00
  • dbc3bee3a0 Test array with 2 elements Benoit Blanchon 2014-08-25 10:55:48 +02:00
  • 3f2b7b706a Test an array with one element Benoit Blanchon 2014-08-25 10:55:09 +02:00
  • c243417585 Test nested objects Benoit Blanchon 2014-08-25 10:46:43 +02:00
  • 514a6c0879 Splitted the indentation tests into 3 files Benoit Blanchon 2014-08-25 10:42:00 +02:00
  • 76f9ecce75 Tests empty nested objects in objects Benoit Blanchon 2014-08-25 10:36:25 +02:00
  • 410ca55e88 Added a space before the object's values Benoit Blanchon 2014-08-25 10:34:28 +02:00
  • 66c05041e8 Test an object with comma, quote and column in the value Benoit Blanchon 2014-08-25 10:31:03 +02:00
  • aafabd8e8d Test an object with two memebrs Benoit Blanchon 2014-08-25 10:22:42 +02:00
  • eb1a774778 Fixed empty object output Benoit Blanchon 2014-08-25 09:56:51 +02:00
  • 75c89e7b35 Test an object with one member Benoit Blanchon 2014-08-25 09:52:42 +02:00
  • e31a2136fc Test with an empty array Benoit Blanchon 2014-08-25 09:24:31 +02:00
  • 380722402f Added a test of an empty object Benoit Blanchon 2014-08-25 09:23:41 +02:00
  • 030c8542e7 Now also test the return value Benoit Blanchon 2014-08-25 09:19:26 +02:00
  • 1f25d4434e Added test of an empty string Benoit Blanchon 2014-08-25 09:17:32 +02:00
  • f29904e217 Added skeleton of class IndentedPrintDecorator Benoit Blanchon 2014-08-25 09:06:21 +02:00
  • 7246db7691 Added a note to avoid issue #10 v3.2 Benoit Blanchon 2014-08-04 15:12:09 +02:00
  • 4bdbc6c1fc Updated CHANGELOG.md Benoit Blanchon 2014-08-04 14:59:09 +02:00
  • 8e6fdb20eb Added tag in filename Benoit Blanchon 2014-08-04 14:56:19 +02:00
  • 016d0d699e Added a script to create Arduino package Benoit Blanchon 2014-08-04 14:47:32 +02:00
  • 6771603a05 Simplified JsonArray tests Benoit Blanchon 2014-08-04 12:18:17 +02:00
  • d067cf0e84 Fixed tests Benoit Blanchon 2014-08-04 09:35:57 +02:00
  • 13593d73a3 Fixed nested object in arrays bug Benoit Blanchon 2014-08-04 09:30:57 +02:00
  • bc86ae800a Changed JsonArray tests to show the issue Benoit Blanchon 2014-08-04 09:22:45 +02:00
  • df52dceaa1 Added tests for issue #10 Benoit Blanchon 2014-08-04 09:21:04 +02:00
  • d460b59b50 Fixed CHANGELOG.md v3.1 Benoit Blanchon 2014-08-03 15:54:16 +02:00
  • 8e5ea91f8d Updated README Benoit Blanchon 2014-08-03 13:48:22 +02:00
  • 4a8b7d0cb4 Updated code size Benoit Blanchon 2014-08-03 13:23:40 +02:00
  • 96c9b5deee Updated changelog. Benoit Blanchon 2014-08-03 13:18:59 +02:00
  • 8e81b9bb26 Added JsonObjectBase::remove() Benoit Blanchon 2014-08-03 13:16:35 +02:00
  • 817cc09975 Added typedef JsonKey Benoit Blanchon 2014-08-03 13:09:07 +02:00
  • 1bc45f1fd7 Extracted method getMatchingPair() Benoit Blanchon 2014-08-02 16:25:18 +02:00
  • d2fe9ddf49 Added JsonObjectBase::containsKey() Benoit Blanchon 2014-08-02 16:11:02 +02:00
  • 5cc06180e6 Removed JsonValue::null(), moved the instance to JsonObjectBase Benoit Blanchon 2014-08-02 15:55:46 +02:00
  • 65e8b6d405 Optimized size of JsonObjectBase indexer (-58 bytes) Benoit Blanchon 2014-08-02 15:37:01 +02:00
  • 09294cb5e6 Made EscapedString pure static Benoit Blanchon 2014-08-01 15:32:05 +02:00
  • 158f4600fb Added static EscapedString::printTo Benoit Blanchon 2014-08-01 15:27:58 +02:00
  • 0d28612507 Fixed casting JsonValue to string Benoit Blanchon 2014-08-01 15:23:14 +02:00
  • 7c99d4d63d Reduced usages of EscapedString Benoit Blanchon 2014-08-01 15:22:30 +02:00
  • 1a01800782 Test casting a JsonValue to a JsonArray Benoit Blanchon 2014-08-01 15:06:31 +02:00
  • 6384bc414a Test casting a JsonValue to a float Benoit Blanchon 2014-08-01 14:58:16 +02:00