Commit Graph

88 Commits

Author SHA1 Message Date
Benoit Blanchon
e31d667bec Added support of comments in JSON input (issue #88) 2015-07-27 22:18:54 +02:00
Benoit Blanchon
c161f698fc Implicitly duplicate String in the JsonBuffer (issue #84, #87) 2015-07-25 15:38:12 +02:00
Benoit Blanchon
92e687303d Added support of non standard JSON input (issue #44) 2015-07-10 22:11:26 +02:00
Benoit Blanchon
0aded2a798 Reduced code size 2015-05-31 14:25:01 +02:00
Benoit Blanchon
1b5be892b9 Added support of String class (issue #55, #56, #70, #77) 2015-05-25 15:38:58 +02:00
Benoit Blanchon
756c279cdc Redesigned JsonVariant to leverage converting constructors instead of assignment operators 2015-05-23 15:32:50 +02:00
Benoit Blanchon
08d05df00e Added JsonPrintable::measureLength() (issue #75) 2015-05-09 16:53:48 +02:00
Benoit Blanchon
5e5f060fc0 Updated copyright for 2015 2015-02-07 16:05:48 +01:00
Benoit Blanchon
80913b8044 Fixed Visual Studio's warnings 2015-02-07 15:05:46 +01:00
Benoit Blanchon
8db338ba14 Removed global new operator overload (issue #40, #45 and #46) 2015-02-01 20:59:31 +01:00
Benoit Blanchon
562080f22d Added conversion from ListIterator to ListConstIterator 2014-12-05 22:28:16 +01:00
Benoit Blanchon
f3a84857d9 Removed unused function 2014-11-22 18:54:40 +01:00
Benoit Blanchon
3b77dbbed7 Fixed warnings in Visual Studio 2014-11-11 18:18:26 +01:00
Benoit Blanchon
0911d8d796 Fixed cpplint warnings 2014-11-11 16:41:45 +01:00
Benoit Blanchon
3cfd36a5ce Reduced size by 16 bytes by inlining indent() and unindent() 2014-11-09 16:10:30 +01:00
Benoit Blanchon
3919f07890 Reduced size by 22 bytes by removing writeEmptyArray() and writeEmptyObject() 2014-11-09 13:54:03 +01:00
Benoit Blanchon
05db56760f Reduced size by 38 bytes by inlining addNode() 2014-11-08 21:22:03 +01:00
Benoit Blanchon
e94089ca56 Reduced size by 52 bytes by inlining createNode() 2014-11-08 21:16:47 +01:00
Benoit Blanchon
dc1d0ca698 Added #include <ListNode.hpp> 2014-11-08 21:16:14 +01:00
Benoit Blanchon
627d85ce23 Added #pragma once 2014-11-08 21:15:34 +01:00
Benoit Blanchon
f6133f2d36 Reduced size by 300 bytes by reusing the JsonPrettyPrint from v3 2014-11-08 19:40:07 +01:00
Benoit Blanchon
5a56ec0636 Renamed writeInteger to writeLong to be more consistent 2014-11-07 13:27:42 +01:00
Benoit Blanchon
35a95f00d9 Inlined the content of JsonWriter.cpp 2014-11-07 13:23:11 +01:00
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