Commit Graph

338 Commits

Author SHA1 Message Date
Benoit Blanchon
58c051f564 Added comments v3.3 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
ec843659d8 Updated CHANGELOG.md 2014-09-01 21:14:09 +02:00
Benoit Blanchon
2997a405a0 Added IndentedPrint example 2014-08-26 12:48:59 +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
f77a8b02e3 Fixed file names 2014-08-26 10:26:12 +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
3d322fdb28 Test nested arrays 2014-08-25 11:02:38 +02:00
Benoit Blanchon
981adf1989 Test empty nested arrays 2014-08-25 11:01:22 +02:00
Benoit Blanchon
dbc3bee3a0 Test array with 2 elements 2014-08-25 10:55:48 +02:00
Benoit Blanchon
3f2b7b706a Test an array with one element 2014-08-25 10:55:09 +02:00
Benoit Blanchon
c243417585 Test nested objects 2014-08-25 10:46:43 +02:00
Benoit Blanchon
514a6c0879 Splitted the indentation tests into 3 files 2014-08-25 10:42:00 +02:00
Benoit Blanchon
76f9ecce75 Tests empty nested objects in objects 2014-08-25 10:36:25 +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
e31a2136fc Test with an empty array 2014-08-25 09:24:31 +02:00
Benoit Blanchon
380722402f Added a test of an empty object 2014-08-25 09:23:41 +02:00
Benoit Blanchon
030c8542e7 Now also test the return value 2014-08-25 09:19:26 +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 v3.2 2014-08-04 15:12:09 +02:00
Benoit Blanchon
4bdbc6c1fc Updated CHANGELOG.md 2014-08-04 14:59:09 +02:00
Benoit Blanchon
8e6fdb20eb Added tag in filename 2014-08-04 14:56:19 +02:00
Benoit Blanchon
016d0d699e Added a script to create Arduino package 2014-08-04 14:47:32 +02:00