Benoit Blanchon
|
f7fa9e9467
|
Added JsonArray::createNestedObject()
|
2014-10-07 15:27:24 +02:00 |
|
Benoit Blanchon
|
09b6f71853
|
Added JsonObject::createNestedArray()
|
2014-10-07 12:11:10 +02:00 |
|
Benoit Blanchon
|
e28119f03b
|
Test JsonObject::prettyPrintTo()
|
2014-10-07 11:58:59 +02:00 |
|
Benoit Blanchon
|
7a40711af3
|
Added JsonContainer::prettyPrintTo()
|
2014-10-07 11:22:10 +02:00 |
|
Benoit Blanchon
|
b6799dc231
|
Refactored the serialization
|
2014-10-05 16:26:13 +02:00 |
|
Benoit Blanchon
|
31c9ea9b28
|
Test JsonArray serialization
|
2014-10-05 15:23:52 +02:00 |
|
Benoit Blanchon
|
6330ab1271
|
Test that JsonObject can contain inner arrays
|
2014-10-05 15:15:25 +02:00 |
|
Benoit Blanchon
|
c35a0fadc3
|
Test that JsonArray can contain inner objects
|
2014-10-05 15:14:29 +02:00 |
|
Benoit Blanchon
|
bbe034222c
|
Test that JsonArray can contain inner arrays
|
2014-10-05 15:13:00 +02:00 |
|
Benoit Blanchon
|
305944e907
|
Test that JsonArray can store strings
|
2014-10-05 15:04:44 +02:00 |
|
Benoit Blanchon
|
f0754aed53
|
Test that JsonArray can store booleans
|
2014-10-05 15:04:17 +02:00 |
|
Benoit Blanchon
|
99a785179d
|
Test that JsonArray can contain doubles
|
2014-10-05 15:02:40 +02:00 |
|
Benoit Blanchon
|
21259bc61a
|
Test that JsonArray can store integers
|
2014-10-05 14:55:14 +02:00 |
|
Benoit Blanchon
|
4c67d0579a
|
Test that JsonArray grows after calling add()
|
2014-10-05 14:48:19 +02:00 |
|
Benoit Blanchon
|
cb3c59ec07
|
Added JsonArray
|
2014-10-05 14:40:03 +02:00 |
|
Benoit Blanchon
|
4d2d535a03
|
Pulled up code from JsonObject to JsonContainer
|
2014-10-01 16:56:22 +02:00 |
|
Benoit Blanchon
|
b0e43f7538
|
Extracted class JsonContainer
|
2014-10-01 16:18:14 +02:00 |
|
Benoit Blanchon
|
d66a7adc22
|
Moved files into Internals/ and Arduino/
|
2014-10-01 16:08:32 +02:00 |
|
Benoit Blanchon
|
1a98fd5dfc
|
Serialize inner objects
|
2014-10-01 15:47:32 +02:00 |
|
Benoit Blanchon
|
57400cee14
|
Extracted methods serializeObject and serializeKeyValue
|
2014-10-01 12:46:41 +02:00 |
|
Benoit Blanchon
|
c99bdbf4b9
|
Extracted JsonNodeSerializer
|
2014-10-01 12:28:30 +02:00 |
|
Benoit Blanchon
|
a665fa1dec
|
Converted StringBuilder tests to gtest
|
2014-09-30 18:07:08 +02:00 |
|
Benoit Blanchon
|
78048d1d92
|
Converted EscapedString tests to gtest
|
2014-09-30 18:03:17 +02:00 |
|
Benoit Blanchon
|
065fe57a7c
|
Serialize booleans in objects
|
2014-09-30 17:56:28 +02:00 |
|
Benoit Blanchon
|
f251563af1
|
Serialize floats in objects
|
2014-09-30 17:32:45 +02:00 |
|
Benoit Blanchon
|
c1ab55f9d9
|
Serialize integer values in object
|
2014-09-30 17:24:14 +02:00 |
|
Benoit Blanchon
|
27a4d57f7c
|
Test that now value can be added when all nodes are allocated
|
2014-09-30 17:14:59 +02:00 |
|
Benoit Blanchon
|
22e36bbe9c
|
Restored tests from previous test suite
|
2014-09-30 17:08:59 +02:00 |
|
Benoit Blanchon
|
d2e1b241be
|
Test that size doesn't change when remove() is called with an invalid key
|
2014-09-30 17:07:29 +02:00 |
|
Benoit Blanchon
|
3d9e40a3a8
|
Test that the size is decreased when object are removed
|
2014-09-30 17:05:33 +02:00 |
|
Benoit Blanchon
|
9f85368cce
|
Test serialization of an object with strings
|
2014-09-30 16:59:44 +02:00 |
|
Benoit Blanchon
|
3243f2dc58
|
Implement Printable
|
2014-09-30 16:43:25 +02:00 |
|
Benoit Blanchon
|
6b2705769a
|
Refactored to use StringBuilder
|
2014-09-30 16:40:00 +02:00 |
|
Benoit Blanchon
|
ab2587f089
|
Test empty object serialization
|
2014-09-30 16:31:22 +02:00 |
|
Benoit Blanchon
|
d3cf568d07
|
Test that char* are copied
|
2014-09-28 21:35:08 +02:00 |
|
Benoit Blanchon
|
e417c137fc
|
Test that bool values are copied
|
2014-09-28 21:23:40 +02:00 |
|
Benoit Blanchon
|
d549070fd3
|
Test that doubles in JsonValue are copied
|
2014-09-28 21:22:20 +02:00 |
|
Benoit Blanchon
|
42ce5ab31f
|
Test that integers in JsonValue are copied
|
2014-09-28 21:18:43 +02:00 |
|
Benoit Blanchon
|
e190b20ae1
|
Fixed inner object bug
|
2014-09-28 21:04:59 +02:00 |
|
Benoit Blanchon
|
bc44c36385
|
Test that nested JsonObject can be stored
|
2014-09-27 16:18:40 +02:00 |
|
Benoit Blanchon
|
bcc8cece24
|
Moved JsonObject._buffer into the JsonNode's content
|
2014-09-27 15:34:34 +02:00 |
|
Benoit Blanchon
|
a7ff04db0e
|
Added "const" to cast operators
|
2014-09-27 15:25:00 +02:00 |
|
Benoit Blanchon
|
a9a51ec1e2
|
Test that string can be stored in JsonObject
|
2014-09-27 15:24:16 +02:00 |
|
Benoit Blanchon
|
0495297c6c
|
Group test in a test fixture
|
2014-09-27 15:19:03 +02:00 |
|
Benoit Blanchon
|
75588946c6
|
Test that boolean values can be stored in a JsonObject
|
2014-09-27 15:04:06 +02:00 |
|
Benoit Blanchon
|
5fa446d3f5
|
Test that a double can be stored in a JsonObject
|
2014-09-27 14:59:02 +02:00 |
|
Benoit Blanchon
|
71fd2de675
|
Test that integers can be stored in a JsonObject
|
2014-09-27 14:51:50 +02:00 |
|
Benoit Blanchon
|
a2fc188526
|
Test that adding the same value twice doesn't increase the size of the object
|
2014-09-27 14:43:19 +02:00 |
|
Benoit Blanchon
|
166bdd6919
|
Test that adding values to the JsonObject increase the size of the buffer
|
2014-09-27 12:16:53 +02:00 |
|
Benoit Blanchon
|
4d4119e589
|
Test that JsonObject.size() is increased when values are added
|
2014-09-27 11:53:26 +02:00 |
|
Benoit Blanchon
|
91649df593
|
Test that CreateObject() returns an empty JsonObject
|
2014-09-27 11:42:27 +02:00 |
|
Benoit Blanchon
|
890e811e80
|
Test that size can't go above capacity
|
2014-09-27 11:33:45 +02:00 |
|
Benoit Blanchon
|
bb887f94e7
|
Test size() after calling CreateObject
|
2014-09-27 10:16:30 +02:00 |
|
Benoit Blanchon
|
6e45f7c790
|
Test initial size of StaticJsonB
|
2014-09-27 09:58:34 +02:00 |
|
Benoit Blanchon
|
5580adb4a6
|
Added first test on StaticJsonBuffer
|
2014-09-27 09:56:53 +02:00 |
|
Benoit Blanchon
|
60a5d72367
|
Started a new solution from scratch.
Added Google test
|
2014-09-24 11:41:19 +02:00 |
|
Benoit Blanchon
|
4cfb0ab84d
|
Fixed issue #21
|
2014-09-20 18:56:22 +02:00 |
|
Benoit Blanchon
|
a1b6c2df75
|
Merge branch 'parse-escaped-chars'
|
2014-09-09 21:33:12 +02:00 |
|
Benoit Blanchon
|
feb6060887
|
Updated change-log
|
2014-09-09 21:32:27 +02:00 |
|
Benoit Blanchon
|
49d2b4b2a2
|
Updated code size
|
2014-09-09 21:25:25 +02:00 |
|
Benoit Blanchon
|
286a514fbe
|
Minor clean up
|
2014-09-09 21:23:37 +02:00 |
|
Benoit Blanchon
|
9d3b522e7b
|
Reduced code size (-6 bytes)
|
2014-09-07 20:11:33 +02:00 |
|
Benoit Blanchon
|
c32642e130
|
Reduced code size (-6 bytes)
|
2014-09-07 19:55:54 +02:00 |
|
Benoit Blanchon
|
7a3fa35bd8
|
Added LICENSE.md
|
2014-09-06 12:04:09 +02:00 |
|
Benoit Blanchon
|
0154fc15cb
|
Added escaped char replacement
|
2014-09-04 21:49:43 +02:00 |
|
Benoit Blanchon
|
24d173c3b9
|
Added tests of escaped chars
|
2014-09-04 21:30:50 +02:00 |
|
Benoit Blanchon
|
d4c1b6f2c2
|
Extracted a class to test strings
|
2014-09-04 21:20:40 +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
|
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 |
|