Commit Graph

65 Commits

Author SHA1 Message Date
Benoit Blanchon
579c9359df Added comments 2014-11-06 16:08:06 +01:00
Benoit Blanchon
885e35e892 Added comments 2014-11-06 14:48:14 +01:00
Benoit Blanchon
e7864c9566 Use Print& instead of Print* 2014-11-06 14:29:29 +01:00
Benoit Blanchon
6e67bc442f Added comments 2014-11-06 14:27:14 +01:00
Benoit Blanchon
ac9b776aa1 Fixed remaining cpplint warnings 2014-11-06 14:08:53 +01:00
Benoit Blanchon
1e02fabdec Simplified JsonWriter and PrettyJsonWriter 2014-11-06 13:52:33 +01:00
Benoit Blanchon
79bfe731af Added comments 2014-11-06 13:42:16 +01:00
Benoit Blanchon
a3425a6306 Added a nesting limit to the parser to prevent stack overflow that could be a security issue 2014-11-06 10:24:37 +01:00
Benoit Blanchon
f360cc664c Added empty line at end of file 2014-11-06 09:28:28 +01:00
Benoit Blanchon
342b079133 Rename Node into ListNode 2014-11-05 13:14:15 +01:00
Benoit Blanchon
8138c64116 Renamed NodeIterator into ListIterator 2014-11-05 13:12:20 +01:00
Benoit Blanchon
64b4e15ce6 Added tests of JsonObject::const_iterator 2014-11-05 13:10:22 +01:00
Benoit Blanchon
a9f4f611d4 Extracting a common base class for JsonArray and JsonObject... 2014-11-05 11:53:08 +01:00
Benoit Blanchon
0fb4fa8f86 Extracting a common base class for JsonArray and JsonObject... 2014-11-05 11:43:59 +01:00
Benoit Blanchon
7d73e63c78 Extracting a common base class for JsonArray and JsonObject... 2014-11-05 11:38:36 +01:00
Benoit Blanchon
ebb591ef28 Extracting a common base class for JsonArray and JsonObject... 2014-11-05 11:28:19 +01:00
Benoit Blanchon
31dea656d5 Splitted JsonIterator into NodeIterator and NodeConstIterator 2014-11-05 11:16:36 +01:00
Benoit Blanchon
768312e870 Merged JsonArrayNode and JsonObjectNode into a single template 2014-11-05 11:09:48 +01:00
Benoit Blanchon
5d0e326bfd Removed JsonPair constructor 2014-11-05 09:31:29 +01:00
Benoit Blanchon
bafec6f1a3 Unified JsonArrayNode and JsonObjectNode 2014-11-05 09:24:15 +01:00
Benoit Blanchon
c6d11294e4 Replaced JsonArrayIterator and JsonArrayConstIterator by a template 2014-11-05 09:04:26 +01:00
Benoit Blanchon
6ce2497879 Move JsonPrintable into Internals/ 2014-11-05 08:53:41 +01:00
Benoit Blanchon
09f6d059a7 Renamed JsonValue to JsonVariant 2014-11-04 09:51:25 +01:00
Benoit Blanchon
d9cc259df3 Added declaration for placement new because it was not available in Arduino 2014-11-03 21:29:19 +01:00
Benoit Blanchon
04cde11a04 Now use uint8_t to store decimal count 2014-11-03 18:28:24 +01:00
Benoit Blanchon
2f8fde6772 Added ReferenceType::operator!=() 2014-11-03 18:25:17 +01:00
Benoit Blanchon
1ce6d663af Replaced 0 literals by more explicit '\0' and NULL 2014-11-03 17:03:55 +01:00
Benoit Blanchon
54f9bd9572 Simplified JsonWriter hierarchy 2014-11-03 12:58:52 +01:00
Benoit Blanchon
2a60c96baf Removed virtuals from JsonWriter hierarchy 2014-11-03 12:51:24 +01:00
Benoit Blanchon
507f809da0 Merge branch 'merge-parser-and-generator' of github.com:bblanchon/ArduinoJson into merge-parser-and-generator 2014-11-03 11:46:49 +01:00
Benoit Blanchon
fead9b50b1 Fixed bug in parser when "null", "true" or "false" is mispelled 2014-10-31 21:08:04 +01:00
Benoit Blanchon
d35b680481 Removed ForwardDeclarations.hpp 2014-10-31 12:27:33 +01:00
Benoit Blanchon
ca0fbf00f9 Cleaning up... 2014-10-31 12:16:32 +01:00
Benoit Blanchon
5443e90baf Cleaning up... 2014-10-31 12:02:15 +01:00
Benoit Blanchon
889f059758 All tests passed! 2014-10-30 21:51:59 +01:00
Benoit Blanchon
45a8ed6531 Huge refactoring in progress... 2014-10-30 15:31:27 +01:00
Benoit Blanchon
4c204840e9 Huge refactoring in progress... 2014-10-30 14:03:33 +01:00
Benoit Blanchon
ba2b142c8a Huge refactoring in progress... 2014-10-29 14:24:34 +01:00
Benoit Blanchon
10ab95522d Epic refactoring in progress 2014-10-28 17:58:46 +01:00
Benoit Blanchon
61218f12fd Epic refactoring in progress... 2014-10-28 16:29:55 +01:00
Benoit Blanchon
852256c1af Epic refactoring int progress... 2014-10-27 22:50:50 +01:00
Benoit Blanchon
8988cb4761 Epic refactoring in progress... 2014-10-27 14:03:44 +01:00
Benoit Blanchon
e0980292ef Epic refactoring in progress 2014-10-26 21:18:09 +01:00
Benoit Blanchon
9f69fabe20 Cleaned JsonNodeWrapper 2014-10-25 16:11:04 +02:00
Benoit Blanchon
e748ce32bc Removed all friends of JsonValue 2014-10-25 15:55:58 +02:00
Benoit Blanchon
68fb03577c Moved forward declarations in a single .hpp file 2014-10-24 16:29:51 +02:00
Benoit Blanchon
55b0eab3e6 Added newline at ed of file 2014-10-23 23:45:36 +02:00
Benoit Blanchon
e85f27c0f3 Added file headers with copyrights 2014-10-23 23:39:22 +02:00
Benoit Blanchon
b43da1e421 Switched to Google coding style to match cpplint expectations 2014-10-23 23:13:13 +02:00
Benoit Blanchon
9175046f35 Formated code with clang-format 2014-10-23 19:54:00 +02:00