Commit Graph

100 Commits

Author SHA1 Message Date
Benoit Blanchon
b6d8e6c989 Updated copyright year from 2015 to 2016 2016-01-07 22:39:57 +01:00
Benoit Blanchon
8b66a25f66 Removed a useless line of code 2015-11-22 10:18:21 +01:00
Benoit Blanchon
ba3617c22f Added parameter to DynamicJsonBuffer constructor to set initial size (issue #152) 2015-11-09 21:37:40 +01:00
Benoit Blanchon
c0cf9c3fcc Use float instead of double to reduce the size of JsonVariant (issue #134) 2015-10-30 23:03:16 +01:00
Benoit Blanchon
155dd653e7 Fixed printTo(String) which wrote numbers instead of strings (issue #120) 2015-09-19 16:23:09 +02:00
Benoit Blanchon
04b8781c8d Fixed GCC warning "declaration shadows a member" (issue #103) 2015-09-01 22:26:51 +02:00
Benoit Blanchon
5a4d993f7d Fixed memory alignment, which made ESP8266 crash (issue #104) 2015-09-01 22:21:50 +02:00
Benoit Blanchon
823a172681 Fixed segmentation fault in StaticJsonBuffer (issue #104) 2015-08-29 22:51:17 +02:00
Benoit Blanchon
39c506b419 Reduced generator size. Fixed Visual Studio warnings 2015-08-19 16:08:19 +02:00
Benoit Blanchon
ef2641b49b Store parsed token as string and allow conversion between various types (issues #64, #69, #90, #93) 2015-08-10 17:22:22 +02:00
Benoit Blanchon
601b51890f Fixed segmentation fault in when memory allocation fails (issue #92) 2015-08-01 16:57:29 +02:00
Benoit Blanchon
2524a00a96 Fixed segmentation fault in DynamicJsonBuffer when memory allocation fails (issue #92) 2015-08-01 16:31:59 +02:00
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