Commit Graph
111 Commits
Author SHA1 Message Date
Benoit Blanchon 4cfb0ab84d Fixed issue #21 2014-09-20 18:56:22 +02:00
Benoit Blanchon 58c051f564 Added comments 2014-09-01 21:36:09 +02:00
Benoit Blanchon 763aa7fe37 Added an overload of prettyPrintTo() 2014-09-01 21:22:56 +02:00
Benoit Blanchon cd88fb0882 Added prettyPrintTo() 2014-09-01 21:22:34 +02:00
Benoit Blanchon 57f28c2017 Reduced code size 2014-08-26 12:11:17 +02:00
Benoit Blanchon b3b70b78cf Fixed build error in Arduino IDE 2014-08-26 12:03:50 +02:00
Benoit Blanchon 48018bd6e6 Set default tab size to 2 2014-08-26 11:59:41 +02:00
Benoit Blanchon 61952a9bcd Added setTabSize() 2014-08-26 11:58:33 +02:00
Benoit Blanchon 602cc104f9 Set line ending to CR LF, like in Arduino source code 2014-08-26 11:52:12 +02:00
Benoit Blanchon d71a39211d Fixed prettyPrintTo calling printTo 2014-08-26 10:26:40 +02:00
Benoit Blanchon aa2cd0db00 Moved IndentedPrint into the namespace ArduinoJson::Generator 2014-08-26 10:16:13 +02:00
Benoit Blanchon f127ef6019 Refactoring... 2014-08-26 10:13:49 +02:00
Benoit Blanchon 3ae7327687 Renamed PrettyPrintDecorator into JsonPrettyPrint 2014-08-26 10:08:54 +02:00
Benoit Blanchon 23e61cc0f7 Renamed IndentedPrintDecorator into IndentedPrint 2014-08-26 09:56:05 +02:00
Benoit Blanchon b5002265cf Refactoring... 2014-08-26 09:53:32 +02:00
Benoit Blanchon e48ea94789 Refactoring... 2014-08-26 09:49:59 +02:00
Benoit Blanchon 6539c6982c Extracted class IndentedPrintDecorator from PrettyPrintDecorator 2014-08-26 09:28:41 +02:00
Benoit Blanchon d877d77b63 Moved PrettyPrintDecorator into the namespace ArduinoJson::Generator 2014-08-25 13:19:07 +02:00
Benoit Blanchon 1df6cde026 Refactoring... 2014-08-25 13:14:09 +02:00
Benoit Blanchon fafae8181b Refactoring... 2014-08-25 12:51:56 +02:00
Benoit Blanchon 151fc52c1c Refactoring... 2014-08-25 12:48:38 +02:00
Benoit Blanchon ea79340dc7 Refactoring... 2014-08-25 12:41:49 +02:00
Benoit Blanchon 9e88514700 Refactoring.... 2014-08-25 12:28:58 +02:00
Benoit Blanchon 752378a8cb Fixed bug when a string contains a brace 2014-08-25 12:23:08 +02:00
Benoit Blanchon 8465cc0c83 Refactoring... 2014-08-25 11:46:42 +02:00
Benoit Blanchon 2ddf8f1619 Renamed IndentedPrintDecorator to PrettyPrintDecorator 2014-08-25 11:42:07 +02:00
Benoit Blanchon f7aa0f89e3 Added JsonPrintable.prettyPrintTo(Print&) 2014-08-25 11:39:04 +02:00
Benoit Blanchon 981adf1989 Test empty nested arrays 2014-08-25 11:01:22 +02:00
Benoit Blanchon 3f2b7b706a Test an array with one element 2014-08-25 10:55:09 +02:00
Benoit Blanchon 410ca55e88 Added a space before the object's values 2014-08-25 10:34:28 +02:00
Benoit Blanchon 66c05041e8 Test an object with comma, quote and column in the value 2014-08-25 10:31:03 +02:00
Benoit Blanchon aafabd8e8d Test an object with two memebrs 2014-08-25 10:22:42 +02:00
Benoit Blanchon eb1a774778 Fixed empty object output 2014-08-25 09:56:51 +02:00
Benoit Blanchon 75c89e7b35 Test an object with one member 2014-08-25 09:52:42 +02:00
Benoit Blanchon 1f25d4434e Added test of an empty string 2014-08-25 09:17:32 +02:00
Benoit Blanchon f29904e217 Added skeleton of class IndentedPrintDecorator 2014-08-25 09:06:46 +02:00
Benoit Blanchon 7246db7691 Added a note to avoid issue #10 2014-08-04 15:12:09 +02:00
Benoit Blanchon 13593d73a3 Fixed nested object in arrays bug 2014-08-04 09:30:57 +02:00
Benoit Blanchon bc86ae800a Changed JsonArray tests to show the issue 2014-08-04 09:22:45 +02:00
Benoit Blanchon 8e5ea91f8d Updated README 2014-08-03 13:48:22 +02:00
Benoit Blanchon 8e81b9bb26 Added JsonObjectBase::remove() 2014-08-03 13:16:35 +02:00
Benoit Blanchon 817cc09975 Added typedef JsonKey 2014-08-03 13:09:07 +02:00
Benoit Blanchon 1bc45f1fd7 Extracted method getMatchingPair() 2014-08-02 16:25:18 +02:00
Benoit Blanchon d2fe9ddf49 Added JsonObjectBase::containsKey() 2014-08-02 16:11:02 +02:00
Benoit Blanchon 5cc06180e6 Removed JsonValue::null(), moved the instance to JsonObjectBase 2014-08-02 15:55:46 +02:00
Benoit Blanchon 65e8b6d405 Optimized size of JsonObjectBase indexer (-58 bytes) 2014-08-02 15:37:01 +02:00
Benoit Blanchon 09294cb5e6 Made EscapedString pure static 2014-08-01 15:32:05 +02:00
Benoit Blanchon 158f4600fb Added static EscapedString::printTo 2014-08-01 15:27:58 +02:00
Benoit Blanchon 0d28612507 Fixed casting JsonValue to string 2014-08-01 15:23:14 +02:00
Benoit Blanchon 7c99d4d63d Reduced usages of EscapedString 2014-08-01 15:22:30 +02:00